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=7329>.
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=7329

[PATCH] Nested tags for logic:iterate

           Summary: [PATCH] Nested tags for logic:iterate
           Product: Struts
           Version: 1.1 Beta 1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I developed 3 new tags to be used as nested tags for the logic:iterate.
- Odd and Even: The body of 
these tags is only evaluated if the counter is odd/even. This gives you the ability to 
generate 
tables with alternating colours etc. These tags work as a simple addon to the existing 
logic 
tags.
- Element: This is a more general version of Odd and Even. You can have as many 
different rows 
as element tags are specified. Then the first element is used again. For that tag I 
had to add two 
counters to the iterate tag.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to