This is what I do:

<t:loop t:source="myVOList" t:value="myVO" t:index="var:index">
    <div id="div_${var:index}"></div>
</t:loop>

Eric


Joel Halbert-2 wrote:
> 
> ...
> b) easy access to the current index value, without having to provide
> your own. Although you can provide your own index, this gets messy when
> using inner loops, since you need to reset the inner loop index on every
> iteration of the outer loop. This seems like boiler plate that could be
> incorporated into the framework.
> ...
> Joel
> 

-- 
View this message in context: 
http://www.nabble.com/Improvements-to-Loop-tp20437249p20587750.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to