[stringtemplate-interest] Filtering a list
Brian Lewis
bsl04 at uark.edu
Wed Apr 11 02:32:16 PDT 2007
On Fri, 06 Apr 2007 15:25:50 -0400
Bogdan Calmac <bc4all at gmail.com> wrote:
> <persons: {<if(it.smart)><it.name><endif>}; separator=",">
> this would create something like
> Bill,,Bob,,,Jim
> with empty spaces for the items filtered out. Could you suggest some
> elegant manner to do this?
I guess I think you should make a smartPeople collection and pass *that*
to ST rather than trying to do it within ST.
More information about the stringtemplate-interest
mailing list