Alex said:
> Is it possible to parse a String containing a template using the current
> context? Basically I want to do exactly what #parse does, except I want to
> pass in a String containing the template rather than a template file name.
> I could probably generate a temporary file and then call parse on that, but
> I'm not sure where to put the generated template so that #parse  could find
> it. My templates are inside of a jar file and I do not have access to the
> code that creates the context and runs Velocity. Any ideas/help is greatly
> appreciated.

there's the RenderTool at:
http://jakarta.apache.org/velocity/tools/generic/

Nathan Bubna
[EMAIL PROTECTED]


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

Reply via email to