struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <...@i-trade.hu>
Subject Re: Checking boolean values with a logic tag
Date Wed, 22 Jan 2003 11:38:50 GMT
2003. január 22. 12:03 dátummal Jordan Thomas ezt írtad:
> Hi,
>
> How do I check a boolean value of a method/bean using the logic tags. Can
> Struts-El do this? Essentially I have a method called getXYZ() that returns
> a boolean value. I can't change the name of the method to isXYZ so  I have
> to leave it as is.

<logic:equal name="someBean" property="XYZ" value="true" >

Tib

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message