commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Reilly" <tim.rei...@consultant.com>
Subject RE: [Jelly] Using without a file or url
Date Thu, 29 Jul 2004 05:36:53 GMT
I don't want to take away from your question;

but I was curious if you considered using Velocity
http://jakarta.apache.org/velocity/
http://today.java.net/pub/a/today/2003/12/16/velocity.html
for your email templating, instead?


> [Jason Lea wrote:]
> Sent: Thursday, July 29, 2004 1:22 AM
> To: Jakarta Commons Users List
> Subject: [Jelly] Using without a file or url
> 
> 
> I am new to Jelly.  I just started looking for something to allow me to 
> make some templates for HTML email, and Jelly looks great.
> 
> I have an idea to store some template fragments in a database, pull them 
> out, combine them into the completed script then execute Jelly over it.  
> However Jelly seems to only have the facilities to open files or URLs.  
> It doesn't look like I can pass it a string containing my jelly template 
> and execute the script.
> 
> Is this the case?  or is there a way to do it?
> 
> I imagine I could write my template to a temp file, execute the script 
> on that, then delete the file - but that seems clumsy.
> 
> -- 
> Jason Lea


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


Mime
View raw message