Hi, You just have to use 'index' parameter of @For component.
< jwcid="@For" source="ognl:theList" value="elem" index="loopIndex"> < jwcid="@If" condition="ognl:loopIndex == (theList.size()-1)"> last element :] Cheers, Dariusz On Fri, Mar 19, 2010 at 5:09 AM, asianCoolz <second_co...@yahoo.com> wrote: > when using <td jwcid="@For" source="ognl:theList" > how to check for whether the element is last element in the loop? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >