velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jnusaira <>
Subject Global Context Objects?
Date Fri, 19 Oct 2007 19:01:06 GMT


I am using Velocity for templating of some XML and other items. (not UI
front end)

So I have a singleton containing the VelocityEngine.

I need to pass in some utility classes to it (like a DateUtil and some
custom ones). However I'd like to initialize it at the begining on engine
creation. Is there a way of doing that??

Obviously i can just attach it to the context objects when passing through
but i'd prefer not to.


View this message in context:
Sent from the Velocity - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message