Re: DispatchAction and execute Method

2007-10-11 Thread Niall Pemberton
On 10/11/07, Mariano Rico <[EMAIL PROTECTED]> wrote: > Hi, > > I have an action class extending the DispatchAction class to get > different methods executed. > > My question is if the execute() method of DispatchAction is being > executed before my own methods in my action class. Yes and its the D

DispatchAction and execute Method

2007-10-11 Thread Mariano Rico
Hi, I have an action class extending the DispatchAction class to get different methods executed. My question is if the execute() method of DispatchAction is being executed before my own methods in my action class. Thanks -

Re: DispatchAction and execute

2007-02-16 Thread Michael Jouravlev
execute() method is called for any action including DispatchAction. DispatchAction.execute() calls your event handles, but you can override it if you want. I suggest using EventDispatchAction instead of DispatchAction. Also, if you want to extend your own MyAncestor you can use EventDispatcher cl

DispatchAction and execute

2007-02-16 Thread Jean-Marie Pitre
Hi, I have a custom class MyAction which extends a custom ancestor MyAncestor. MyAncestor class extended Struts Action. I would like to use DispatchAction so my Ancestor extends now DispatchAction. I would like to still use execute method to do some jobs. Is it possible to use DispatchAction