Drew, if you can help us out on this (we're swamped!) that would be really awesome. In fact, if anyone can help us with any of the open issues that would be really helpful. :)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew McAuliffe Sent: Tuesday, October 14, 2003 10:17 AM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Adding Velocity Tools support This goes back to a JIRA issue I filed about the VelocityManager and the velocity servlet. Before, in ww1, you could subclass the velocity servlet and add things you wanted to the velocity context. Now, you can't, because of the way the VelocityManager is set up. It would be (still!) great if it were refactored in such a way as to make it easy for people to swap in their own extension, adding items to the context as needed. I can take a look at this, if need be. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dag Liodden Sent: Tuesday, October 14, 2003 4:40 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Adding Velocity Tools support Aapo Laakkonen wrote: >>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. > > > 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? 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 ------------------------------------------------------- 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