velocity-user mailing list archives

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


Hi,

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.

Thanks

-- 
View this message in context: http://www.nabble.com/Global-Context-Objects--tf4655200.html#a13301024
Sent from the Velocity - User mailing list archive at Nabble.com.


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


Mime
View raw message