[Petal] table rows using alternating style info?
Bruno Postle
bruno at mkdoc.com
Wed Dec 15 14:33:50 GMT 2004
In addition to getting the odd or even status of the loop item..
petal:condition="true: repeat/even"
..you can do this sort of thing:
petal:condition="true: repeat/start"
petal:condition="true: repeat/inner"
petal:condition="true: repeat/end"
> This example should be added to Petal POD -- there isn't an example
> like this documented anywhere.
These methods are documented, but only when used with the old
deprecated syntax:
http://search.cpan.org/dist/Petal/lib/Petal/Deprecated.pm#loops
Until the documentation for normal Petal syntax is fixed, you need
to refer to that.
--
Bruno
More information about the Petal
mailing list