Hi,

can I compare an attribute value of a bean with the logic TagLib?

eg.:
my beans name is myobject and it has session scope
Wirthin that bean there is an attribute:
boolean myattribute = true;
There is of course a setter and a getter for that attribute.

How would the logic tag look like??


My suggestion that doesn't work:
<logic:equal name="myobject" property="myattribute" scope="session" value="true">
   my output
 </logic:equal>

thanks!! 

Reply via email to