As part of my STRUTS 2 application i'm trying to use the AJAX theme to give
me 2 submit buttons within a Form that I can use to submit data to either
different Actions or different Methods in the same Action. Initially i
tried the following -
<html>
<s:div id="persons" theme="ajax" href="%{descrsUrl}" />
<s:form >
<s:textfield id="firstName" label="test" name="test"/>
<s:submit theme="ajax" targets="persons" action="test" />
<s:submit theme="ajax" targets="persons" action="simpleAJAX" />
</s:form>
</html>
but this code only ever submits to the same Action. Is this posisble?? Can
I use the AJAX theme to submit data to different functions from within the
same Form???
Any help much appreciated.
--
View this message in context:
http://www.nabble.com/Multiple-AJAX-submit-buttons-in-STRUTS-2-tf4764170.html#a13625589
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]