[ 
https://issues.apache.org/jira/browse/WICKET-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175922#comment-13175922
 ] 

axel becker commented on WICKET-1442:
-------------------------------------

I get the same Error in wicket 1.4.15 and 1.4.19. 
In my Page are one Parentform and two Subforms.
Subform-1 with Filedupload on Ajaxsubmit sets the isMultipart of my parentForm 
to true.
Subform-2 with Ajaxsubmit inside a modal Dialog.

On submit of Subform-2, the isMultipart() of my parentForm is true an i get the 
Exception. 
Furthermore, i can't find a hook, where i can skip the handleMultipart() of my 
parentForm.
I think, this issue should be reopen but i havn't the previliges.

thanks
axel
                
> nested forms inside a multipart form can't be submitted via ajax
> ----------------------------------------------------------------
>
>                 Key: WICKET-1442
>                 URL: https://issues.apache.org/jira/browse/WICKET-1442
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.1
>            Reporter: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.3
>
>
> nested forms can't be submitted via ajax if any of the parent forms contain a 
> fileuploadfield (which makes the root form a multipart).
> fix: skip changing the request to a multipart request in 
> Form#handleMultiPart, if it's an ajax request.
> these two types of requests mutually exclude each other anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to