[ 
https://issues.apache.org/jira/browse/WICKET-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michał Letyński updated WICKET-2779:
------------------------------------

    Attachment: modalproject.zip

quickstart attached

> Submit a nested form via ajax to upload a file inside modal window does not 
> work on IE.
> ---------------------------------------------------------------------------------------
>
>                 Key: WICKET-2779
>                 URL: https://issues.apache.org/jira/browse/WICKET-2779
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.4
>         Environment: Windows XP, IE7, IE8
>            Reporter: Michał Letyński
>             Fix For: 1.4.8
>
>         Attachments: modalproject.zip
>
>
> I'm trying to submit a nested form via ajax to upload a file  inside modal 
> window.
> I get an 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)
>  
> After debug:
> FileUploadBase.isMultipartContent get false because
> if (contentType.toLowerCase().startsWith(MULTIPART))   - contentType = 
> application/x-www-form-urlencoded 
> It only occurs on IE browser (both IE7 and IE8).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to