I agree with all of your points. If I were you, I would look for /
request the ability to specify to Velocity a character other than '$' as
a sigil.

Best regards.

On Wed, 2007-12-26 at 22:50 +1000, Arnold Somogyi wrote:
> Your solution is not good for me because jQuery prototype
> (http://jquery.com) JavaScript file is a original file. I do not want
> to modify this original file because:
> 
> (1) to modify a open souce code not too good solution, for example no
> one did not modify the Velocity source code :)
> (2) my code will not be clear after i modified the original code
> (3) if there is a new release i have to modify again and again
> 
> 
> 
> > Quick solution: use poor man's escaping:
> >
> >   #set ($d = '$')
> >
> > Then, you do something like this:
> >
> >   ${d}!="W")H D=${d};18.${d}=E;H
> >
> > That always works and is predictable, which cannot be said for
> > Velocity's quirky escaping rules.
> >
> > Best regards.
> 
> 
> 
> 

-- 
Gonzalo Diethelm
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to