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]

Reply via email to