On Nov 15, 2007 12:17 PM, Bensman, Jeff [EESUS Non J&J]
<[EMAIL PROTECTED]> wrote:
> I'm using Velocity as an embedded template engine in a non-web application.  
> I'm trying to figure out how to use the GenericTools, like DateTool.
>
> The only mention I seem to be able to find on this topic is in this post:
> http://marc.info/?l=velocity-user&m=115820816716807&w=2
>
> But this message is from late '06.  Do I still need to just create an 
> instance of the tool and add it to my context?  Or has a newer solution 
> evolved that I'm just missing?

if you only need one or two simple tools and things are pretty stable,
then yeah, just create an instance and go for it.  but also yes,
better support for this stuff is evolving in VelocityTools2:
http://wiki.apache.org/velocity/VelocityTools2/StandaloneUse

> Thanks for your help,
>
> Jeff
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to