When I submit a form, in a div using theme="ajax", the value of property of submit button not goes to Action.

E.g.

<s:form
   action="SomeAction"
   method="post"
   theme="ajax"
   target="%{target}">
   <s:submit
       name="valueButton"
       theme="ajax"
       targets="%{target}"
       value="some"/>
<s:submit
       name="valueButton"
       theme="ajax"
       targets="%{target}"
       value="other"/>
</s:form>

If I click in "some" or "other", I want to get the value by getValueButton().
But it not works. Any way to do this?

regards,
Vinicius

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to