Re: one action with two buttons

2009-03-11 Thread PEGASUS84
thanks but it doesn't take data from form yet -- View this message in context: http://www.nabble.com/one-action-with-two-buttons-tp22456812p22465024.html Sent from the Struts - User mailing list archive at Nabble.com. - To uns

Re: one action with two buttons

2009-03-11 Thread mitch gorman
PEGASUS84 wrote: > it doesnt work mean that the action go to a jsp page but the data in the form > there aren't in the jsp page > okay, i just took another look through my code, and it looks like i incorrectly constructed the example in my response. what i *should* have suggested you t

Re: one action with two buttons

2009-03-11 Thread PEGASUS84
it doesnt work mean that the action go to a jsp page but the data in the form there aren't in the jsp page -- View this message in context: http://www.nabble.com/one-action-with-two-buttons-tp22456812p22464237.html Sent from the Struts - User mailing list archive at Nabble.com. ---

RE: one action with two buttons

2009-03-11 Thread Martin Gainty
the assigned value to the submit button has to be unique as illustrated here http://struts.apache.org/2.x/docs/multiple-submit-buttons.html note the distinction of buttonName to compare to 'Submit' or 'Cancel' if ("Submit".equals(buttonName))HTH Martin ___

Re: one action with two buttons

2009-03-11 Thread mitch gorman
PEGASUS84 wrote: > good evening, > in my project i've to create a form with two buttons wich make two different > process: > i try this method: > > SOME table here or some fields > > > > formId="configureform">Cancel > > > but it doesn't work. > > well, lacking a clear definition o

RE: one action with two buttons

2009-03-11 Thread Kra, Aime yao (TEK System)
Did you try the following sample. It works for me http://struts.apache.org/2.x/docs/multiple-submit-buttons.html Regards Aimé Kra -Original Message- From: PEGASUS84 [mailto:pegasu...@hotmail.it] Sent: Wednesday, March 11, 2009 10:52 AM To: user@struts.apache.org Subject: one action wit