Re: Dispatch Action Strangeness

2005-04-18 Thread Dave Newton
David Johnson wrote: which part to you need to see? I'm s thankful for any help :) All of it? What Hubert is asking is whether or not you override the execute method of the DispatchAction subclass, as that could easily munge up the dispatching. That's certainly among my top questions as we

Re: Dispatch Action Strangeness

2005-04-18 Thread David Johnson
which part to you need to see? I'm s thankful for any help :) On 4/18/05, Dave Newton <[EMAIL PROTECTED]> wrote: > > Hubert Rabago wrote: > > >Does it have an execute() method? If so, what does the execute method do? > > > > > Yeah--what you gave isn't enough. In order to diagnose we must s

Re: Dispatch Action Strangeness

2005-04-18 Thread Dave Newton
Hubert Rabago wrote: Does it have an execute() method? If so, what does the execute method do? Yeah--what you gave isn't enough. In order to diagnose we must see the code, because on the surface everything appears to be fine. Dave

Re: Dispatch Action Strangeness

2005-04-18 Thread Hubert Rabago
> > going on. > > > > > > Dennis > > > > > > > > > David Johnson <[EMAIL PROTECTED]> > > > 04/18/2005 03:28 PM > > > Please respond to > > > "Struts Users Mailing List" > > > > > >

Re: Dispatch Action Strangeness

2005-04-18 Thread David Johnson
ep 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" > > > > To > > Struts User

Re: Dispatch Action Strangeness

2005-04-18 Thread David Johnson
yeah. this is my Action mapping On 4/18/05, Dave Newton <[EMAIL PROTECTED]> wrote: > David Johnson wrote: > > >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 th

Re: Dispatch Action Strangeness

2005-04-18 Thread Dave Newton
David Johnson wrote: 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) What does the code for your base action (that subclass

Re: Dispatch Action Strangeness

2005-04-18 Thread Hubert Rabago
gt; 04/18/2005 03:28 PM > Please respond to > "Struts Users Mailing List" > > To > Struts Users Mailing List , Hubert Rabago > <[EMAIL PROTECTED]> > cc > > Subject > Re: Dispatch Action Strangeness > > > yes, exactly. If changed the

Re: Dispatch Action Strangeness

2005-04-18 Thread DGraham
ECTED]> 04/18/2005 03:28 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List , Hubert Rabago <[EMAIL PROTECTED]> cc Subject Re: Dispatch Action Strangeness yes, exactly. If changed the value of the hidden field to "graph"

Re: Dispatch Action Strangeness

2005-04-18 Thread David Johnson
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 "

Re: Dispatch Action Strangeness

2005-04-18 Thread Hubert Rabago
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 someth

Re: Dispatch Action Strangeness

2005-04-18 Thread Jeff Beal
Are you overriding execute() in either your Action or BaseAction? On 4/18/05, David Johnson <[EMAIL PROTECTED]> wrote: > Any further insights on this? It seems I'm missing something simple here... - To unsubscribe, e-mail: [EMAI

Re: Dispatch Action Strangeness

2005-04-18 Thread David Johnson
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 that I need (and the hidden field named "dispatch") and of course to have my Action inherit from org.apache.struts.

Re: Dispatch Action Strangeness

2005-04-15 Thread David Johnson
in my HTML I have 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 inh

Re: Dispatch Action Strangeness

2005-04-15 Thread Rick Reumann
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

Re: Dispatch Action Strangeness

2005-04-15 Thread David Johnson
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. strange right? On 4/15/05, Dave Newton <[EMAIL PROTECTED]> wrote: > David Johnson wrote: > > >My

Re: Dispatch Action Strangeness

2005-04-15 Thread Dave Newton
David Johnson wrote: My Action class still extends "Action" should it inherit DispatchAction instead? What am I missing? If it doesn't extend DispatchAction how would it know to dispatch? Dave - To unsubscribe, e-mail: [EMAIL P

Dispatch Action Strangeness

2005-04-15 Thread David Johnson
Hi there I thought I'd break this into its own thread. I'm trying to implement a DispatchAction as discussed by Ted Husted here --> http://husted.com/struts/tips/002.html I have done the following 1. changed the html:submit to the following (along with the necassary javascript) Run Graph 2. Cr