You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Wayne Andersen <wa...@clima-tech.com> on 2005/05/13 20:03:58 UTC

Help using velocity tools

I need to be able to do some date processing in my macros, I saw the
velocitytools stuff and it will do what I need, but how do I access/use
the tools in my macros?

Wayne L Andersen
System Administrator
Clima-Tech Corporation
208-947-1849


Re: Help using velocity tools

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Wayne,

> I need to be able to do some date processing in my macros, I saw the
> velocitytools stuff and it will do what I need, but how do I access/use
> the tools in my macros?

Just put it in the Context.
   http://jakarta.apache.org/velocity/developer-guide.html#The%20Context

Or if you're using VelocityViewServlet, put it in the toolbox.xml.
   http://jakarta.apache.org/velocity/tools/view/index.html#Toolbox%20Configuration

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

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