I havent used EventActionDispatcher. I have used EventDispatchAction, and I 
just do a forward as ...

return new ActionForward("/secondAction.do?anyEventName");

I just pass the methodName as the key. I do not use key=value. 

Also I use the button & link parameters as addCustomer, deleteCustomer etc.

Thanks,
-Kalpesh
 
Mississippi John Hurt <[EMAIL PROTECTED]> wrote: I tried this and it works...

return new ActionForward("/secondAction.do?anyEventName=OneOfParams");

the anyEventName can be anything, while OneOfParams has to be one of the
values in the parameter list in the struts config.
One possible problem is that it seems the dispatcher will simply try to
match each param from first to last with any form parameter so you have to
be careful that no form param values might resemble on of the parameters in
your struts config.

For example what is someone had an input field where they typed in 'delete'
and you had 1 of the parameters ie methods as 'delete', then the dispatcher
could very well match the delete methodparam with the delete value of the
form input field and trigger the delete() method.

Isn't this an issue anybody?

On 8/10/06, Mississippi John Hurt  wrote:
>
> It doesn't seem to pick up the eventName. It forwards to the 2nd action
> class alright, but somehow the EventActionDispatcher is told which event, is
> it via a form parameter or request attribute?  Which one?
>
>
> On 8/10/06, kalpesh modi  wrote:
> >
> > You can do something like
> >
> > return new ActionForward("/secondAction.do?eventName");
> >
> > Thanks,
> > -Kalpesh
> >
> > ---------------------------------
> > Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> > countries) for 2¢/min or less.
> >
>
>


                
---------------------------------
How low will we go? Check out Yahoo! MessengerÂ’s low  PC-to-Phone call rates.

Reply via email to