This is how I have handled it in the past.
<c:choose>
<c:when test="${cssKey == 'odd'}">
<bean:define id="cssKey" value="even"/>
</c:when>
<c:otherwise>
<bean:define id="cssKey" value="odd"/>
</c:otherwise>
</c:choose>
<tr><td class="<c:out value="${cssKey}"/>">xyz</td>
"Senthilrajan VS" <[EMAIL PROTECTED]>
07/13/2005 10:53 AM
|
|
Hi All,
I'm using html:iterate to display the set of records in the table. Is there any way to put the alternate color using CSS classes in tag libraries
Thanks & Regards,
SenthilRajan VS