Kienenberger [EMAIL PROTECTED]
To: Shinobu Kawai [EMAIL PROTECTED]; Velocity Users List
velocity-user@jakarta.apache.org
Cc: Velocity Users List velocity-user@jakarta.apache.org
Sent: Thursday, February 24, 2005 7:07 PM
Subject: Re: Escaping in VTL (was Re: Velocity JSP Generation)
Shinobu Kawai
Doesn't quite work that easily.
The problem is that if #directive is not an actual macro,
than \#directive
is shown verbatim. You only should escape when the same
code is legit in
both the source and the generated Velocity. This can be a
little confusing.
I know there is no
:09 AM
Subject: RE: Escaping in VTL (was Re: Velocity JSP Generation)
Doesn't quite work that easily.
The problem is that if #directive is not an actual macro,
than \#directive
is shown verbatim. You only should escape when the same
code is legit in
both the source and the generated Velocity
will break.
WILL
- Original Message -
From: Gonzalo Diethelm [EMAIL PROTECTED]
To: 'Velocity Users List' velocity-user@jakarta.apache.org
Sent: Friday, February 25, 2005 7:09 AM
Subject: RE: Escaping in VTL (was Re: Velocity JSP Generation)
Doesn't quite work that easily
Shinobu Kawai [EMAIL PROTECTED] wrote:
Escaping the VTL properly was a little challenging, but otherwise it was
no
big deal.
I still don't get the whole escaping scheme, partly because I can't
find any documentation that is completely correct. We might want a
document totally devoted to
Hi Mike,
I still don't get the whole escaping scheme, partly because I can't
find any documentation that is completely correct. We might want a
document totally devoted to escaping in VTL. :(
Escape all [$], [#], [], [!] and [']. (actually, ! might be overkill, but
better safe than
-
From: Mike Kienenberger [EMAIL PROTECTED]
To: Shinobu Kawai [EMAIL PROTECTED]; Velocity Users List
velocity-user@jakarta.apache.org
Cc: Velocity Users List velocity-user@jakarta.apache.org
Sent: Thursday, February 24, 2005 7:07 PM
Subject: Re: Escaping in VTL (was Re: Velocity JSP Generation