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:

EventDispatchAction

2007-08-23 Thread Venu Madhav
hi, I am getting following exception if I remove default method in struts-config.xml javax.servlet.ServletException: Request[/event] does not contain handler parameter. can any body help me -- Regards, Venu madhav.Yelamanchili Developer, WCS Team, Miracle Software Systems, [EMAIL PROTECTE

Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 11:25 AM To: user@struts.apache.org Subject: EventDispatchAction Hi, can anybody help me with an example on EventDispatchAction in struts1.2.9 . Please help me its very urgent. Just send .java file containing the code. -- R

Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 11:25 AM To: user@struts.apache.org Subject: EventDispatchAction Hi, can anybody help me with an example on EventDispatchAction in struts1.2.9 . Please help me its very urgent. Just send .java file containing the code. -- R

Re: EventDispatchAction

2007-08-23 Thread Venu Madhav
mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 11:25 AM To: user@struts.apache.org Subject: EventDispatchAction Hi, can anybody help me with an example on EventDispatchAction in struts1.2.9 . Please help me its very urgent. Just send .java file containing the code. -- R

Re: EventDispatchAction

2007-08-23 Thread Paul Benedict
l Message- > From: Venu Madhav [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 23, 2007 11:25 AM > To: user@struts.apache.org > Subject: EventDispatchAction > > Hi, > can anybody help me with an example on > EventDispatchAction in struts1.2.9 . Please h

RE: EventDispatchAction

2007-08-23 Thread Dinwiddie, George
://iDIAcomputing.com/ http://blog.gdinwiddie.com/ -Original Message- From: Venu Madhav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 11:25 AM To: user@struts.apache.org Subject: EventDispatchAction Hi, can anybody help me with an example on

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 > EventDispat

EventDispatchAction

2007-08-23 Thread Venu Madhav
Hi, can anybody help me with an example on EventDispatchAction in struts1.2.9 . Please help me its very urgent. Just send .java file containing the code. -- Regards, Venu madhav.Yelamanchili Developer, WCS Team, Miracle Software Systems, [EMAIL PROTECTED] Ph.No:+919963503613

EventDispatchAction

2007-08-23 Thread Venu Madhav
Hi, while using EventDispatchAction in struts am getting the below shown exception. Can anybody help me with an example java.lang.NoSuchMethodException: com.mss.actions.EventDispatchDemoAction.save,back,recalc=recalculate,default=save(org.apache.struts.action.ActionMapping

Re: [s1] security filter for EventDispatchAction

2007-08-01 Thread Paul Benedict
, 27 July 2007 3:47 PM To: user@struts.apache.org Subject: [s1] security filter for EventDispatchAction Hi, For security/authorisation we use a servlet filter which checks the url against our security database. We've recently upgraded to Struts 1.2.9 and tried using EventDispatchAction

RE: [s1] security filter for EventDispatchAction

2007-07-31 Thread Strachan, Paul
EventDispatchAction Hi, For security/authorisation we use a servlet filter which checks the url against our security database. We've recently upgraded to Struts 1.2.9 and tried using EventDispatchAction, but the problem is the filter does not know which event to secure against (as the event na

[s1] security filter for EventDispatchAction

2007-07-26 Thread Strachan, Paul
Hi, For security/authorisation we use a servlet filter which checks the url against our security database. We've recently upgraded to Struts 1.2.9 and tried using EventDispatchAction, but the problem is the filter does not know which event to secure against (as the event name is arb

Re: Migrate Struts 1 EventDispatchAction to Struts 2

2007-07-16 Thread Laurie Harper
This is effectively possible 'out of the box' in S2. Just use the 'method' attribute on a s:submit tag, for example, to control dispatch. L. Boon Leng wrote: Hi, What I want to achieve is to migrate "EventDispatchAction", which means the methods will be cal

Re: Migrate Struts 1 EventDispatchAction to Struts 2

2007-07-14 Thread Boon Leng
Hi, What I want to achieve is to migrate "EventDispatchAction", which means the methods will be called base on event, not base on request. Single action name can dispatch to multiple methods base on event triggered. And I would like to know is there anyway I can configure it in

Re: Migrate Struts 1 EventDispatchAction to Struts 2

2007-07-13 Thread Nuwan Chandrasoma
July 14, 2007 4:45 AM Subject: Re: Migrate Struts 1 EventDispatchAction to Struts 2 Hi, I would like to know is there any class in struts 2 which is equivalent to EventDispatchAction? So that I can convert the following: to something like this: and struts 2 will call the method showF

Re: Migrate Struts 1 EventDispatchAction to Struts 2

2007-07-13 Thread Boon Leng
Hi, I would like to know is there any class in struts 2 which is equivalent to EventDispatchAction? So that I can convert the following: to something like this: and struts 2 will call the method showForm() by default and call insert() when button is clicked. Currently I have to

Re: Migrate Struts 1 EventDispatchAction to Struts 2

2007-07-13 Thread Laurie Harper
Boon Leng wrote: May I know what is the best way to migrate Struts 1 EventDispatchAction to Struts 2? The following is my struts-config.xml where displaying form and submitting form is using the same action name but execute different methods in the action. How do

Migrate Struts 1 EventDispatchAction to Struts 2

2007-07-13 Thread Boon Leng
May I know what is the best way to migrate Struts 1 EventDispatchAction to Struts 2? The following is my struts-config.xml where displaying form and submitting form is using the same action name but execute different methods in the action. How do I convert it to

Question reg EventDispatchAction

2006-11-13 Thread rapsy
Hi All I have multiple submit buttons on my jsp page. I would like to use EventDispatchAction to do that. The issue is I have been working with struts1.1 and I can't upgrade to struts1.2.9. Is is possible for me to add EventDispatchAction to struts1.1 version. If yes, please let me how

Re: EventDispatchAction and wizard

2006-05-06 Thread Michael Jouravlev
ve some data from DB) and then shows me my invalid form/jsp. Because all my jsps contain 2 buttons: next and back i decided that all my actions will extends EventDispatchAction, so if validations fails i wanna to be forwarded to previous action next() method. One soultion i found is to add extra pa

EventDispatchAction and wizard

2006-05-06 Thread Jakub Milkiewicz
all my actions will extends EventDispatchAction, so if validations fails i wanna to be forwarded to previous action next() method. One soultion i found is to add extra parameters to forward paths in struts configuration file: Is it good ide