jeff wrote:
>
> "Geir Magnusson Jr." wrote:
> >
> > jeff wrote:
> >
> > [SNIP]
> > > Is that really something you envision as a commonplace need?
> >
> > I hope so. I believe that the trend, nay stampede, toward dynamic
> > content generation certainly makes this a possibility.
> >
> > > Seems to
> > > me like the vast majority of templates are going to be hand crafted by a
> > > designer. Not only that, but even if arbitrary text is used as source
> > > material, how often does \$ occur except in some sort of template
> > > language source?
> >
> > It's the symbol of a major world currency, for starters... the point is
> > really to try to 'do no harm.'
>
> OK, I can accept your reasoning. Given all this, however, it is a shame
> that the following does not work as I would expect:
>
> ------------ begin template -----------
> #set ( $unit_price = '9.99' )
> On sale now for only $${unit_price}
> ------------ end template -------------
>
> which renders as
>
> ------------ begin render -----------
> On sale now for only $${unit_price}
> ------------ end render -------------
Yes, that sucks, and is being worked on as we speak :)
The other way hurts too : ... in reference to invoice #$invoice ...
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity