struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrice" <ppich...@nerim.net>
Subject Re: How can I use <logic:...> for properties such as isKnown() ?
Date Tue, 26 Nov 2002 09:10:35 GMT
x.isKnown() seems to return a boolean, so, I think you can do this:

<logic:equal name="x" property="known" value="true">
...
</logic:equal>


Hope it helps
Patrice


----- Original Message -----
From: "Zsolt Koppany" <zkoppany@web.de>
To: <struts-user@jakarta.apache.org>
Sent: Monday, November 25, 2002 9:46 PM
Subject: How can I use <logic:...> for properties such as isKnown() ?


> Hi,
>
> is it possible to use <logic:...> for properties such as isKnown()? I
would
> like to rewrite the code as follows:
> <% is (x.isKnown()) { %>
> ....
> <% } %>
>
> Zsolt
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>


--
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