Do you have
 
     @Override
     protected WebRequest newWebRequest(HttpServletRequest servletRequest) {
          return new UploadWebRequest(servletRequest);
     }

in your Application class?


________________________________

Von: TahitianGabriel [mailto:glan...@piti.pf]
Gesendet: Mo 30.11.2009 22:30
An: users@wicket.apache.org
Betreff: Re: FileUploadField in a ModalWindow (wicket 1.4.3)?




I've got the same behaviour here : the getFileUpload() return null inside a
ModalWindow (Wicket 1.4.3, Firefox 3.5.5/IE 8).
The test on line 70 of FileUploadField if (request instanceof
IMultipartWebRequest) is always false, so I guess the multipart is not set
correctly, even if I've put setMultiPart(true) in my form.

The Wicket-example application works fine.

Regards,

Gabriel.
--
View this message in context: 
http://old.nabble.com/FileUploadField-in-a-ModalWindow-%28wicket-1.4.3%29--tp26577255p26582249.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to