this will not work, you cant submit multipart with ajax as far as i know

On 6/13/07, diego <[EMAIL PROTECTED]> wrote:
> I have a form inside a ModalWindow, it has a FileUploadField. When I
> submit the form I get the exception "java.lang.IllegalStateException:
> ServletRequest does not contain multipart content"
>
> It makes sense, because the request sent is not of the type
> "multipart/..." but instead "application/x-www-form-urlencoded" since
> it's an Ajax request.
>
> Is there any way to make this work? All my other forms appear in a
> ModalWindow, so it wouldn't be nice at all to have this one form on the
> "opener" page.
>
> I wouldn't mind if the form posted to a new instance of the page, I
> mean, not using an Ajax request for posting, which I guess it's done
> using a plain Button instead of an AjaxSubmitButton. When I tried that,
> I got a pop-up warning me I was going away from the ModalWindow (wich of
> course is precisely what I want to do, so I don't want to be warned)
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to