[stringtemplate-interest] accept simple expression language

DVD dvd at newfoundmarket.com
Tue May 12 14:09:45 PDT 2009


what about a non-web email html letter scenario. I'd have a batch Java 
program reading user uploaded
ST templates and produce html newsletter.   I am talking about a 
scenario that
this function is needed done via ST. I know it is 1% of common scenarios 
but when it is needed,
some kind of template solution has to be provided and I hope the ST 
would fill this 1% gap
somehow, perhaps a subclass or special object creation option to relax 
the rule a little.



Terence Parr wrote:
>
> On May 12, 2009, at 1:40 PM, DVD wrote:
>
>> Except that I need the transformation step being (optional) step of ST
>> engine.
>
> Why can't you make the filtering or transformation stage optional? you 
> can even be made optional on a page URL parameter.  The 
> page/controller sees the parameter and decides not to do the 
> transformation before sending the data into the template.
>
> Ter



More information about the stringtemplate-interest mailing list