Hi,

I need to call various formatters on the data to be displayed in my Velocity results (e.g dates like http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-337). This could be done in two ways (AFAIK):

1. Add a generic ToolBoxInterceptor to parse the toolbox.xml-file from Velocity Tools
2. Just use the bean tag in a VelociMacro

Solution 2 is probably the easiest one, but AFAIK the BeanTag is still not supported by ww2. Is this correct?

I can implement #1 if that's interesting - I guess it would be nice to have generic toolbox support and it should be fairly easy to implements. All I'm wondering in this regard is how to push data to the top of the template's stack. ActionContext.getContext().getValueStack().setValue() in before() / after() does not do the trick.

Thanks for any input,

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

Reply via email to