cancel
Showing results for 
Search instead for 
Did you mean: 

properties actionlink (image)

sjeek
Champ in-the-making
Champ in-the-making
Hi,

I would like to add a image to an actionlink, but you can only add a url to the 'image' tag.
Is it possible to add the values for height and width ibn this tag?
10 REPLIES 10

gavinc
Champ in-the-making
Champ in-the-making
I think the problem here is that the expression will evaluate to a literal string so you'll effectively end up with:

url="r.url" or url="r.fileType32"

These expressions will not get evaluated as a value binding expression which is probably why it's not working.

Is there any reason why you can't do the check inside your CheckinCheckoutBean?

For example:

public String getImage()
{
   if (expression)
      return getDocument().getProperties.get("url");
   else
      return getDocument().getProperties.get("fileType32");
}