Skip to content

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

Description

@yasserzamani

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions