velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Mohombe <amoho...@yahoo.com>
Subject Best practice for escaping?
Date Thu, 27 Oct 2005 22:06:33 GMT
Hi,

Is there a best practice on how to escape a velocity template.
(so in order to generate another velocity template?).

The escaping rules are clear however it seems a nightmare to me
to apply them because of the fact that 'undefined' variables are threated
different by the escape rule.

The problem is that some variables exist both in the source and the target template.
At the moment I tried so many 'tweakings' and I never get what I expect.
I'm at the point to use another template engine to generate velocity templates,
just to avoid the escaping nightmare.

Thanks in advance,

Ahmed.


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message