velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moshe Sambol <mos...@businesslayers.co.il>
Subject RE: Loading dynamically generated velocity templates
Date Wed, 21 May 2003 16:42:43 GMT
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@Parago.Com] 
> 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)  
> 
> ---------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message