Laurie Harper wrote:
Perhaps something like the following, making use of the status info [1]
exposed by s:iterator:
<table><tr>
<s:iterator id="item" value="yourList" status="s">
<td><s:property value="#item.someProperty"/></td>
<s:if test="#s.index % 3 == 0">
</tr><tr>
</s:if>
</s:iterator>
</tr></table>
With a tweak that prevents that if from firing if there are a multiple
of 3 entries in yourList:
test="#s.index % 3 == 0 && !#s.last"
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]