Well, I certainly know how to do this with a foreach but i'm wondering
about contrib:Table.

On Wed, 2005-09-14 at 10:32 -0600, Mark Stang wrote:
> Sure, on a foreach you can use the components.xxx.index to see which one
> you are on.  Then we maintain the length of the list in the visit.  Then
> you can 
> use ognl for the comparison.
> 
> This one here compares the index with the visit value and then a
> condtional decides whether the link is visible.
> 
> <span jwcid="@Conditional" invert="true"
> condition="ognl:components.attributeSources.index ==
> page.visit.tasklet.currentState.taskletListSize-1"><a href="#"
> jwcid="moveDown">move down</a></span>
> 
> Hth,
> 
> Mark



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

Reply via email to