I have a table with a loop on a <tr> and I want to use two CSS classes for the rows, just like the attribute rowClass for rich:dataTable.
This is may part of code:
<table>
<c:forEach items="${MyBean.Result}" var="item">
<tr>
<td><h:outputText value="${item.attr}" />
</td>
</tr>
</c:forEach>
</table>
How can I alternate the CSS class on each row of the HTML table?
then use