What advantage does this have over the included WebworkVelocityServlet? In this model, you don't have access to the valuestack?
Cheers, Scott Marco Papini wrote:
I'm actually using Velocity for everything.
For data retrieving, I created a generic Action class (that extends ActionSupport) which is extended by all actions.
I've placed a getAction() method that returns the action itself so it can be accessed from the velocity template as $action.
For instance, if I need to retrieve a particular user I'll put:
#set($aUser = $action.getUser($userId))
Hope this can be of any help.
Kelvin Tan wrote:
Thanks. Thought as much... I'm guessing most WW users don't use Velocity? KT
-- ATLASSIAN - http://www.atlassian.com Expert J2EE Software, Services and Support ------------------------------------------------------- Need a simple, powerful way to track and manage issues? Try JIRA - http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
