Aapo Laakkonen wrote:
Yup, I want to call e.g $datetool.format($blah) directly in Velocity. Still, I don't know how to put things in this context without adding it to an action superclass or in the VelocityManager. It should preferrably be done from an interceptor... Jason?1. Add a generic ToolBoxInterceptor to parse
the toolbox.xml-file from Velocity Tools 2.
Just use the bean tag in a VelociMacro
My solution:
1. Generic Filter implementation. Then the tools do not only work with Velocity, but also with every other templating technology. Oh, I forget that you are using ValueStack instead of page, request, session and servlet context attributes, and that propably needs a separate implementation.
Dag
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork