logo       

RE: Loading dynamically generated velocity templates: msg#00126

jakarta.velocity.user

Subject: RE: Loading dynamically generated velocity templates

Todd,

On 5/15 I posted code for a resource loader which would do this. Check the
archive, the subject of the message was "RE: Template from String"

Beware that my code hasn't been tested or verified by anyone else, but it's
pretty simple. If nothing else it can serve as a starting point for you.

-Moshe



> -----Original Message-----
> From: Todd Marshall [mailto:Todd.Marshall@xxxxxxxxxx]
> Sent: Wednesday, May 21, 2003 7:26 PM
> To: 'Velocity Users List'
> Subject: Loading dynamically generated velocity templates
>
>
> I'm working on a project that requires me to dynamically
> generate velocity
> templates that are then stored in a String object. I'm now
> trying to get
> these strings into the velocity engine so they can be parsed
> and rendered.
>
> Is there an existing resource loader that will allow me to do
> this (I don't
> want to store these in the database, so the data source
> resource loader is
> out), or some other way to get my templates loaded?
>
> -Todd
>
> ----------------------------------
> Todd C. Marshall
> Rapid Response Team Lead Developer
> Parago, Inc
> 1405 S. Beltline Rd., Ste 190
> Coppell, Texas 75019
> desk: 972-538-3911
> fax: 972-745-3387
> cell: 214-395-4502 (emergencies only)
>
> ---------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise