Title: vtl + jstl question

 I am trying to have alternate row color for  and I am using the following code, and it jumps to        <tr bgcolor="#DAE2E8"> (second color) without checking the if the id id odd or even

<c:choose>
<c:when test="'$'{idx.count % 2 == 1}">
  <tr bgcolor="#E7E8E9">       
</c:when>
<c:otherwise>
        <tr bgcolor="#DAE2E8">
</c:otherwise>
</c:choose>





if I use <c:when test="${idx.count % 2 == 1}">  , it gives parsing error  


any clues?

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

Reply via email to