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)
begin:vcard
fn;quoted-printable:Diego L=C3=B3pez Le=C3=B3n
n;quoted-printable:L=C3=B3pez Le=C3=B3n;Diego
org:los-programadores.nl
adr:;;Av. Del Libertador 3624;Capital Federal;;;Argentina
email;internet:[EMAIL PROTECTED]
title:Young Padawan
tel;home:+54 11 45816610
x-mozilla-html:FALSE
url:http://www.los-programadores.nl
version:2.1
end:vcard
-------------------------------------------------------------------------
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