Eric Pugh wrote:
Okay, so there isn't anything "Out of the box" or "WebWork way" for doing
this..  I guess what I am learning about WebWork is that it isn't the
"garbage can" approach to providing everything..  I have used Turbine
extensively, and in Turbe there are built in tools to for generating an
email using a velocity template.  I will look to rolling my own velocity
templated email tool.

As far as that goes, how can I ask WW for a Velocity template?  It looks
like if I want to merge a velocity template using webwork, I need to do
something with VelocityEngine?

Use the VelocityManager singleton to get a reference to the VelocityEngine used by WebWork. You can call VelocityEngine.getTemplate( ... ) to retrieve the template you're looking for. See the Velocity documentation for more information on VelocityEngine.


M



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to