I haven't looked at your actual code, but tbh combining a normal and
ajax request like that doesn't sound like a very good idea to me.
Can't you issue the form submit as part of a script you set in the
AjaxRequestTarget of the preparing action? Something like:
target.appendJavaScript(myForm.getMa
I have a scenario where I want to perform an action on the server prior to
issuing a jsform.submit() on the client. I had been using SubmitLink, but
the timing was wrong because I need to tweak some data on the client BEFORE
submitting. I finally got the idea to "combine" AjaxLink and SubmitLink