I have my own copy that I ported from 1.x. I also changed the VelocityManager so that it puts the utility on the stack. I have no idea if what I've done is optimized or not but it seems to at least work. I can send in copies of that if necessary. One other thing I noted about Velocity support is that because all of the activity related to the velocity stack has been moved to Velocity manager, it's no longer easy to subclass the velocity servlet and add your own objects to the stack on each request. That seems like something that should be open for extension, whether as a subclass of the servlet or as a pluggable VelocityManager class.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Cannon-Brookes Sent: Monday, August 11, 2003 4:03 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Velocity helper missing from ww2 Drew, I think most of these just haven't been ported - but they sound very useful. I never used Velocity with WW1, but I'm using it with WW2 and have added a few 'useful' things (like $tools for URL/HTML encoding etc). Is there a list of all the old WW1 directives? I'd like to port them to WW2. Is it all doc'ed somewhere? (I'm on a bus so no website access right now) Cheers, Mike On 12/8/03 8:23 AM, "Drew McAuliffe" ([EMAIL PROTECTED]) penned the words: > Something I found difficult to figure out is what the recommended > replacements are in ww2 for the old ww1 macros. Things like > "evaluate", "action", "bean", "includeservlet", "execute", etc. These > macros used to call methods on the $webwork helper, which was placed > in the I had to play around some to find, for example, that "$ref = > $webwork.bean($bean_name)" can be replaced by something like "$ref - > $stack.findValue("new $bean_name")". What are the recommended > replacements for the other helper methods (and is the one for #bean > actually the best way to do that)? What helper methods are no longer > necessary due to the way things have changed in ww2? > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_ > 01/01 > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork