What is the best way to test the value of indexId?
For example,
<logic:iterate id="people" name="employees" indexId="index">
<tr class='<%=index.intValue()%2==0?"Even":"Odd"%>'>
...
</logic:iterate>
This works but it depends on the fact that index has type of Integer. Is there a better way to do the same kind of testing but hide the implementation detail?
Thanks
-- Charles Liu
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]