Toby Hede wrote:

> Can you clarify what you mean by: 'having one action internally delegate 
> to the chain of actions that you want to execute'.

Have one action which in doExecute does something like:

Action1 action1 = (Action1)ActionFactory.getAction(Action1.class);
action1.setA(b);
action1.execute();
Action2 action2 = (Action2)ActionFactory.getAction(Action2.class);
action2.setFoo(bar);
action2.execute();
...

That's the code manifestation of the above statement :-) You'll probably 
want to do different things depending on the result of the execute()s 
though.

/Rickard

-- 
Rickard �berg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
   The Middleware Company - We Build Experts!


_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to