Yeah, the cycle binding prefix would be a cool thing to add to the core.
On Jul 5, 2012 3:34 AM, "Lance Java" <[email protected]> wrote:

> This wiki page explains creating a custom binding prefix to achieve zebra
> stripes
> http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefixCycle
>
> eg:
> <t:loop ...>
>     <div class="${cycle:odd,even}">...</div>
> </tloop>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/How-to-have-every-second-value-in-the-t-loop-different-tp5714278p5714298.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