I have a situation where I have a form with multiple submit buttons and I want to update a remote frame. I've tried using a g:formremote
with 2 g:actionsubmit
buttons (which support javascript) but the multiple submit buttons have a glitch (described here: http://www.grails.org/Ajax under "Multiple buttons with formRemote").
I took the workaround, using 2 g:submittoremote
buttons, which work the way I expect, but doesn't accept the javascript parameters like onClick
(the buttons in question are accept/reject and I want to put an AYS on the reject so it isn't used accidentally).
Is there a way for javascript and multiple submit buttons in a remote form to exist peacefully?
Thanks in advance for your help...