tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Procek, Brett" <>
Subject RE: Regarding IF tag (Utility)
Date Mon, 20 Aug 2001 19:55:44 GMT
The If utility tag is pretty simple. The 'predicate' attribute only
takes either "true" or "false" as strings I believe.  Ofcourse, the
value of the 'predicate' attribute is calculated at runtime, so it is
possible to make some use for this tag.  AND and OR operations work just
like they do in Java.  I hope this helps.
<tag:If predicate="<%= (x <= 5)%>" >
<tag:If predicate="<%= (x > 5)%>" >
<tag:If predicate="true">
<tag:If predicate="false">

-----Original Message-----
From: Marcus Andrade []
Sent: Monday, August 20, 2001 7:10 AM
Subject: Regarding IF tag (Utility)

Does somebody know how to use the IF tag of the Utility Tag Library ? I
can´t figure out how to use AND, OR operations with that. Some examples
would be nice. 
Marcus Andrade Peixoto
São Paulo/Brazil

View raw message