You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/10 19:30:07 UTC
DO NOT REPLY [Bug 21473] -
else tag?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21473>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21473
<logic:equal> else tag?
------- Additional Comments From stephanheilner@networld.com 2003-07-10 17:30 -------
I didn't mean that exact syntax. I was trying to get the concept across
because it would be very useful. You could design it however you want to.
Here are two possible solutions:
1)
<logic:equal name="myBean" property="myProp" value="myval">
if equal do this...
</logic:equal>
<logic:else>
else do this...
</logic:else>
2) or something where you actually specify the else name:
<logic:equal name="myBean" property="myProp" value="myval" else="myElse">
if equal do this...
</logic:equal>
<logic:else name="myElse">
else do this...
</logic:else>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org