[stringtemplate-interest] Iteration
Terence Parr
parrt at cs.usfca.edu
Tue Aug 4 11:22:37 PDT 2009
Hi currently we have no way to chop up a list but it's not against the
rules, so to speak.
T
On Aug 4, 2009, at 4:22 AM, Dustin A. Lambert wrote:
> Greetings again,
>
> I've been testing for about a week now and had a question about
> iteration:
>
> Is it against the StringTemplate philosophy to only show a segment
> of a list (i.e. first 20 items or last 20 items in a list)?
>
> OR should the controller segment the list before it is passed it?
>
> I wanted my template designers to decide how many items to display,
> but could not figure out how I would accomplish this / if it was the
> proper way.
>
> I'm not looking for a hack via a renderer, etc.
>
> Thanks again,
>
> Dustin Lambert
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list