Also take a look at the ActionLoader class.
r,
Hugh

-----Original Message-----
From: Kurt Schrader [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 10:42 PM
To: Turbine Users List
Subject: Re: Action Chaining



On Thu, 14 Mar 2002, Scott Eade wrote:

> At the end of a doPerform() method I want to trigger a separate action.  Can
> I just do this?:
>
>     OtherAction oa = new OtherAction();
>     oa.doPerform(data, context);

That will work.  It's probably just better to to not have much logic in
your actions though.  I just get the parameters I need and pass them to
the objects that need them to run.  That way you can use the same logic in
any number of actions.

-Kurt


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to