[stringtemplate-interest] nulls & templates...
Kunle Odutola
Kunle_Odutola at hotmail.com
Tue Oct 31 17:59:35 PST 2006
> Instead of this..
> <if(mem.explicitSql)><mem.explicitSql><else>:<userType.name><endif>
>
> I'd like to do
> <mem.explicitSql; null=":<userType.name>">
<mem.explicitSql; null={:<userType.name>}>
> Is there anyway you can incorporate templates to be expanded in the null=
> attribute? Also, in the separator= would be good?
separator={...}
> Since they're strings.... and its.. well, string-template, you'd kind of
> assume it would be a good idea to accept templates anywhere string are
> accepted right? What with all this recursive-mumbo-jumbo.. :)
>
> How cool would that be?. I'll tell you. Damn cool.
>
> Its late. Im off to bed, cos someone's going to point out the syntax is
> wrong, and it already does it.
;-)
Kunle
More information about the stringtemplate-interest
mailing list