hi all, I'm using the iterate tag to display my arrayList element like this.
<logic:iterate name="mailFilterForm" property="registredList" id="mailView"> <tr class="paire"> <td align="center"><bean:write name="mailView" property="code"/></td> <td><bean:write name="mailView" property="sender"/></td> <td><bean:write name="mailView" property="dateStart"/></td> <td><bean:write name="mailView" property="dateEnd"/></td> <td><bean:write name="mailView" property="targetDir"/></td> </tr> </logic:iterate> and it works fine. But I would like to define row style class in bold according to the index value of the iterated element. without using the tag is looked like this <tr class="<%= (index%2 == 0)?"paire":"impaire"%>"> where index is the index value of the iterated element. But I don't know how to perform this inside the iterate tag. The mailView object has a property named index could be used to perform some comparison. But I don't know how to use it. Can some one helps ? thanks. Meissa -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>