[stringtemplate-interest] i0 with alternating templates
Daniel Brenner
daniel.brenner at cas.de
Tue Aug 23 05:43:14 PDT 2011
Hi,
I have a table with results that was build using alternating templates. The following lines is used for this:
$results:resultlistOddRow(somevar), resultlistEvenRow(somevar)$
How can I number the rows? In the templates resultlistOddRow and resultlistEvenRow I tried to access $i$ and $i0$ but stringtemplate keeps telling me "implicitly-defined attribute i not visible" and "implicitly-defined attribute i0 not visible".
Any ideas?
Cheers,
- Daniel
More information about the stringtemplate-interest
mailing list