Was this issue resolved? I am running on the same codebase and have the same
issue.


jcorbin wrote
> 
> This issue seems to pop up in our environment from time to time and trying
> to figure out how to fix it once and for all.
> 
> We have a page with a form that pops up modal window with a form specified
> as well.
> 
> When we try to submit, we get the following exception:
> 
> java.lang.IllegalStateException: ServletRequest does not contain multipart
> content. One possible solution is to explicitly call
> Form.setMultipart(true), Wicket tries its best to auto-detect multipart
> forms but there are certain situation where it cannot.
> at
> org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest.<init>(MultipartServletWebRequest.java:113)
> at
> org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest.<init>(MultipartServletWebRequest.java:83)
> at
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.newMultipartWebRequest(ServletWebRequest.java:500)
> at org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1668)
> at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:862)
> at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:135)
> at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
> ...
> 
> Setting Form.setMultipart(true) on either form has no affect.
> 
> We are running Wicket Version 1.4.7.
> 
> Is there a fix for this issue?
> 
> Is this JIRA Issue related???
> https://issues.apache.org/jira/browse/WICKET-2749
> 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Nested-Forms-and-Multipart-Fileupload-Issue-tp1844365p4174557.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to