You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Anmol Khanna <an...@radiocity.com.au> on 2002/05/27 08:10:46 UTC
String -> Template
Hello,
How can I convert a String to a Velocity Template?
Merging works by using Velocity.evaluate( ...... ) with string representing the template as one of its arguments.
However, because my application performs merge on the same template multiple times, I want to cache the template.
thanks in advance,
anmol
Re: String -> Template
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 5/27/02 2:10 AM, "Anmol Khanna" <an...@radiocity.com.au> wrote:
> Hello,
>
> How can I convert a String to a Velocity Template?
> Merging works by using Velocity.evaluate( ...... ) with string representing
> the template as one of its arguments.
> However, because my application performs merge on the same template multiple
> times, I want to cache the template.
>
Yes, I keep meaning to put that in. I will do that later today if you don't
mind using the CVS head (which is fine and stable...)
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>