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 18:43:49 UTC

DO NOT REPLY [Bug 21473] New: - 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?

           Summary: <logic:equal> else tag?
           Product: Struts
           Version: Unknown
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: stephanheilner@networld.com
                CC: stephanheilner@networld.com


It would really be nice if you could create some kind of else tag for the 
<logic:equal> tag.  It is frustrating to need to specify the <logic:notEqual> 
every time you need an else statement.  An example of what I mean is this:

<logic:equal name="myBean" property="myProp" value="myval">
   if equal do this...
</logic:equal>
<logic:notEqual name="myBean" property="myProp" value="myval">
   else do this...
</logic:notEqual>

changed to something like:

<logic:equal name="myBean" property="myProp" value="myval">
   if equal do this...
<logic:equalElse>
   else do this...
</logic:notEqual>

If you have any questions, just email me.  Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org