Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after 3.3.3 to 3.5.1 upgrade, the submit tag submits each form separately #170

Open
yasserzamani opened this issue Jan 9, 2019 · 0 comments

Comments

@yasserzamani
Copy link

There is a submit tag which has two form ids and one target in formIds and targets attributes. In version 3.3.3 it aggregates those two forms params then submits all in just one ajax request. After upgrade to 3.5.1, now it submits each of those forms separately in two ajax requests.

I discovered it is because in 3.3.3 $.struts2_jquery.handler.load performs the submission but now in 3.5.1 $.struts2_jquery.handler.form does those submissions. Both lines are present in both versions but I'm baffled why now the same web app and tags reaches that second line instead. The same web app and tags don't reach it at all with version 3.3.3.

Could you please help and save time with: why are there two places for form submission, one with aggregation of forms and one with submit each separately? and do you have any idea please what has caused this behavior change? and maybe how to keep previous behavior?

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant