[stringtemplate-interest] Attribute not found exception?

Terence Parr parrt at cs.usfca.edu
Tue Mar 28 12:16:04 PST 2006


On Mar 28, 2006, at 11:00 AM, David Moshal wrote:

> I too have thought this might be useful at times, and was wondering  
> if the api could be extended to support this,
> ie:
>
> setRequiredAttribute (...);

Sometimes you want it and sometimes you don't in same app.  You want  
attributes with no value to be blank w/o an IF:

$if(foo)$foo$endif$

Ter


More information about the stringtemplate-interest mailing list