Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.4.1, 1.4.2
-
None
-
None
Description
Sometimes when a MultiFileUploadField is submitted via Ajax, a 404 error results in resulting ajax call when components are added to the AjaxRequestTarget.
I suspect that the cause of this that the form is set to multi part. If the MultiFileUploadField is removed but setMultiPart(true) is set, the same error occurs.
However, with no MultiFileUploadField and multiPart set to false, the error does not occur.
I've attached a quickstart to this to demonstrate this issue.
Just unzip this and run mvn jetty:run. Then navigate to http://localhost:8080/Ajax404MultiPart
If you click "Add Attachments" the container will be set to visible. Click the submit button and
the error occurs (you can see it in the Wicket Ajax Debug window).
Attachments
Attachments
Issue Links
- duplicates
-
WICKET-2491 Ajax multipart broken on mounted pages
- Resolved
-
WICKET-2726 CLONE -Ajax multipart broken on mounted pages
- Resolved