velocity-user mailing list archives

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

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,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message