ahh, sorry, you're right Steve. I just searched through all my code and
I've used href="actionUrl" for every ajax submit button that isn't using
the form's default action.
I've only used action="actionAlias" for non-ajax submit buttons.
I think the work-around you've found is the way forward.
gt;
>
>
> -----------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Multiple-AJAX-submit-button
Yes it possible and your attempt at specifying a different action for
each submit button is correct.
However:
Did you include ? If not, it's just doing a normal
submit, not XHR and that may explain the problem.
I think you should give your form a default action even though you won't
use it.
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-tf47
4 matches
Mail list logo