[stringtemplate-interest] accept simple expression language
Jonathan Buhacoff
jonathan at buhacoff.net
Tue May 12 16:51:21 PDT 2009
I've been following this discussion - I'm just another ST user and I
appreciate the strict separation. It's why I chose ST over the
alternatives.
Do you already have a large user base writing ST templates? What is
the reason you can't switch to another framework or insert a
transformation step into your process (as someone else suggested) ?
Sent from my iPhone
On May 12, 2009, at 2:09 PM, DVD <dvd at newfoundmarket.com> wrote:
> 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
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list