Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
Paul Benedict wrote: That means the request parameter name is not being included. I can't help you there. But you'll have to research why the intended parameter name isn't being submitted. Look at your HTML source and make sure you get distinct names (not values). Paul On 8/23/07, Venu Madhav <

Re: EventDispatchAction

2007-08-23 Thread Paul Benedict
That means the request parameter name is not being included. I can't help you there. But you'll have to research why the intended parameter name isn't being submitted. Look at your HTML source and make sure you get distinct names (not values). Paul On 8/23/07, Venu Madhav <[EMAIL PROTECTED]> wrot

Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
Hi Paul, It should be like what you gave. But here its not taking other methods into consideration. Its taking only the default method. what ever button you press the control is going to default method only. -- Regards, Venu madhav.Yelamanchili Developer, WCS Team, Miracle Software Systems,

Re: EventDispatchAction

2007-08-23 Thread Paul Benedict
If you have your parameter="hello,goodbye,default=hello" Have two methods: public ActionForward hello(ActionMapping, ActionForm,HttpServletRequest,HttpServletResponse) public ActionForward goodbye(ActionMapping, ActionForm,HttpServletRequest,HttpServletResponse) Have also three submit buttons:

Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
Paul Benedict wrote: Did you provide yourself methods named save, back, and recalc? Do they match the execute() signature of Struts? On 8/23/07, Dinwiddie, George <[EMAIL PROTECTED]> wrote: The example code is http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main /java/org

Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
Paul Benedict wrote: Did you provide yourself methods named save, back, and recalc? Do they match the execute() signature of Struts? On 8/23/07, Dinwiddie, George <[EMAIL PROTECTED]> wrote: The example code is http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main /java/org

Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
Paul Benedict wrote: Did you provide yourself methods named save, back, and recalc? Do they match the execute() signature of Struts? On 8/23/07, Dinwiddie, George <[EMAIL PROTECTED]> wrote: The example code is http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main /java/org

Re: EventDispatchAction

2007-08-23 Thread Paul Benedict
Did you provide yourself methods named save, back, and recalc? Do they match the execute() signature of Struts? On 8/23/07, Dinwiddie, George <[EMAIL PROTECTED]> wrote: > > The example code is > http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main > /java/org/apache/struts/weba

RE: EventDispatchAction

2007-08-23 Thread Dinwiddie, George
The example code is http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main /java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java? view=markup (http://tinyurl.com/2amz3v) but your problem may be in the struts config. George Dinwiddie, iDIA Computing, LLC http:/

Re: EventDispatchAction

2007-08-23 Thread Paul Benedict
Venu, Please paste two things: 1) The action mapping () defining the action. 2) The signature of the method you're trying to call. Paul On 8/23/07, Venu Madhav <[EMAIL PROTECTED]> wrote: > > Hi, > can anybody help me with an example on > EventDispatchAction in struts1.2.9 . Pleas

Re: EventDispatchAction and wizard

2006-05-06 Thread Michael Jouravlev
Check out the wizard sample from Struts Dialogs 2.0 It uses EventActionDispatcher renamed to EventDispatcher, but you can use standard EventActionDispatcher with the same result: https://sourceforge.net/project/showfiles.php?group_id=49385&package_id=154597 It behaves like this one: http://www.su