One part I missed was when you said your base action is extending DispatchAction. What is it that your base action is doing? It could be conflicting with the dispatch logic.
Hubert On 4/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > You've confirm that you've changed the action-mapping so that it is now > using your new dispatch action? If that's correct, then I'd say you need > to break at DispatchAction.execute() and step through it to see what's > going on. > > Dennis > > > David Johnson <[EMAIL PROTECTED]> > 04/18/2005 03:28 PM > Please respond to > "Struts Users Mailing List" <user@struts.apache.org> > > To > Struts Users Mailing List <user@struts.apache.org>, Hubert Rabago > <[EMAIL PROTECTED]> > cc > > Subject > Re: Dispatch Action Strangeness > > > yes, exactly. If changed the value of the hidden field to "graph" > > That part is working too. If I do a log.debug > ("dispatch="+theForm.getDispatch()); > > it puts out the right value (graph or whatever I clicked in the form) > > On 4/18/05, Hubert Rabago <[EMAIL PROTECTED]> wrote: > > IIRC you wanted the "graph" method to be called because you had > > "set('graph')" in an onclick handler. What does the "set('graph')" > > method do? Does it modify the "dispatch" form field? > > > > On 4/18/05, David Johnson <[EMAIL PROTECTED]> wrote: > > > Any further insights on this? It seems I'm missing something simple > here... > > > > > > I dont want ot have to manually call methods on my action... > > > > > > help? :) > > > > > > Is there something beyond the > > > > > > <html:hidden property="dispatch" value="error"/> > > > > > > that I need (and the hidden field named "dispatch") > > > > > > and of course to have my Action inherit from > > > org.apache.struts.actions.DispatchAction (actually my BaseAction > > > inherits from it... that wouldnt make a diffference though correct? > > > > > > On 4/15/05, David Johnson <[EMAIL PROTECTED]> wrote: > > > > in my HTML I have > > > > > > > > <html:hidden property="dispatch" value="error"/> > > > > > > > > in my struts config (for the appropriate action) I have > > > > > > > > parameter="dispatch" > > > > > > > > Is there something else I need? > > > > > > > > On 4/15/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > > > > > David Johnson wrote the following on 4/15/2005 3:21 PM: > > > > > > I saw that after I sent it. I have changed it to inherit from > > > > > > org.apache.struts.actions.DispatchAction (actually my BaseAction > > > > > > inherits from DispatchAction) but the methods still arent being > > > > > > called. > > > > > > > > > > You sure you have the parameter property in your action mapping in > your > > > > > struts config? > > > > > > > > > > "set('graph'); I'm assuming is setting a hidden parameter (your > dispatch > > > > > parameter)... whatever that parameter is, is the one you need also > > > > > defined in your action mapping. > > > > > > > > > > -- > > > > > Rick > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > -Dave > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]