[stringtemplate-interest] nulls & templates...

Robert Hill rob.hill at blueyonder.co.uk
Tue Oct 31 17:42:19 PST 2006


Instead of this..
<if(mem.explicitSql)><mem.explicitSql><else>:<userType.name><endif>

I'd like to do
<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?
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. 

Night!


/2ob





More information about the stringtemplate-interest mailing list