Hi,
the simplest solution in your case is to place a variable $id into the context,
possibly the same with the other SVN tags. Example:
context.put("id", "$id");
or Toolbox XML:
<data key="id">$id</data>
Hope this helps...
:) Christoph
nodje wrote:
I'm using Velocity to render HTML pages.
I have a SVN $Id$ keyword in each Velocity template.
I'd like to have this one render into the HTML result, so that I can see
which file version I'm looking at in a browser. Something like <!-- $Id
..... $ -->
However, if I put it like this in the Velocity template, $Id will be
interpreted as a variable and Velocity will report an error.
Usage of Velocity comments works of course, but are not rendered in the
resulting page.
So is there any way to tell Velocity not to interpret $id ???'
cheers,
--nodje
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]