Hi,

Try to submit all forms that have input type=file element.

On Mon, Feb 27, 2012 at 2:07 PM, cosmindumy <[email protected]> wrote:
> There is another exception that I don't know where it comes from. It sais:
> 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:504)
> at org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1748)
> at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:888)
> at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:148)
> at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
> ...
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Cannot-reproduce-a-wicket-error-tp4185488p4424397.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to