|
This tag can be used to implement if/else if/else,
it just means you have to change the predicate, e.g. and if/else would
be:
<util:If predicate="<%= x == true>">
if condition
</util:If>
<util:If predicate="<%= x ==
false>">
else condition
</util:If>
This works assuming that the if conbdition block
doesn't change the value of x.
sam
|
Title: If/Else tag?
- If/Else tag? Amos Shapira
- RE: If/Else tag? Procek, Brett
- RE: RE: If/Else tag? Sam Newman
- RE: RE: If/Else tag? Borislav Iordanov
- RE: RE: If/Else tag? Procek, Brett
- RE: RE: If/Else tag? Dave Newton
- RE: RE: If/Else tag? Borislav Iordanov
