Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

struts row rags

Meenakshi j

2006-12-19

Replies:

Hello,
I am new to struts and would like to change the code below
<logic:iterate indexId="idx" id="director" name="ProposalSummaryForm"
property="directors">
<% if ( ((idx.intValue())%2) == 0 ) { %>
                          <tr class="evenrow">
                        <% } else { %>
                          <tr class="oddrow">
                <% } %>
</logic:iterate>
 to style class row tags. I am not sure how to do this. Any help
would be appreciated.
Thanks,

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
©2008 junlu.com - Jax Systems, LLC, U.S.A.