Re: Submit button property in ajax not sends value to action.

2007-11-01 Thread Musachy Barroso
Fixed on 2.1: https://issues.apache.org/struts/browse/WW-1930 musachy On 11/1/07, Vinicius Medeiros Peretti <[EMAIL PROTECTED]> wrote: > Thanks very much, this is the way! > But I think that the property of submit button should be posted. > > Thanks, > > Vinicius > > Jeromy Evans wrote: > > I've

Re: Submit button property in ajax not sends value to action.

2007-11-01 Thread Vinicius Medeiros Peretti
Thanks very much, this is the way! But I think that the property of submit button should be posted. Thanks, Vinicius Jeromy Evans wrote: I've read somewhere, but can't find the reference, that you're correct that dojo doesn't post the value of the submit button with XHR. Instead, I always po

Re: Submit button property in ajax not sends value to action.

2007-10-31 Thread Jeromy Evans
I've read somewhere, but can't find the reference, that you're correct that dojo doesn't post the value of the submit button with XHR. Instead, I always post to different methods in the action - one for each submit button. eg. action="SomeActionMethodA" value="some"/> action="SomeActionMethod

Submit button property in ajax not sends value to action.

2007-10-31 Thread Vinicius Medeiros Peretti
When I submit a form, in a div using theme="ajax", the value of property of submit button not goes to Action. E.g. name="valueButton" theme="ajax" targets="%{target}" value="other"/> If I click in "some" or "other", I want to get the value by getValue