[stringtemplate-interest] Conditional statements
Sohail Somani
sohail at taggedtype.net
Sat May 6 22:32:19 PDT 2006
On Sat, 2006-05-06 at 16:57 -0700, Terence Parr wrote:
> On May 6, 2006, at 4:31 PM, Sohail Somani wrote:
>
> > On Sat, 2006-05-06 at 15:14 -0700, Terence Parr wrote:
> >>> So, in the case of formatting, wouldn't it be helpful if the
> >>> template had some
> >>> evaluative capabilities that go beyond boolean evaluation??
> >>
> >> I submit that it is unnecessary and worse just make ST an "me too"
> >> engine; nothing special. ;)
> >
> > I'm still unclear as to how ST allows the view to generate a table
> > with
> > alternating row/column colours. Is there an example of this?
>
> sure...here's a column example
>
> <columnDataElements:red(), green()>
I'm glad I rely on smart people to do good work.
Its not that I used ST for HTML anyway (used it for code gen), but I was
always curious ;)
Sohail
More information about the stringtemplate-interest
mailing list