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
--

Marco Papini



-------------------------------------------------------
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

Reply via email to