really? are you using the XMLHttpRequest request to do a binary upload with a form post?
everywhere on the internet they say that isnt possible johan On Tue, Apr 22, 2008 at 8:05 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I recently implemented an AJAX based file upload field that works just > fine. It's works 'outside of Wicket AJAX' but does leverage an AJAX > fileuploadfield. Let me know if you want to use it, I don't mind sharing > the code. It took a lot of work to make this happen, since the original > jQuery based upload code had to be modified + was a bit buggy to begin > with. > > Cheers, > > Michael > > -----Original Message----- > From: Fabien D. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 22, 2008 7:02 AM > To: [email protected] > Subject: Re: Problems with FileUploadField > > > My researches show FileUploadField does not support ajax behavior.... > > So there is no wicket input, which permits to the user to browse his > local > disk? > > Thank you in advance. > > > Fabien D. wrote: > > > > Hi, I would like to add a behavior on my FileUploadField > > > > But I can't get back the path of the file, or the file > > > > this.logo = new FileUploadField("inputLogo"); > > logo.setRequired(false); > > logo.add(new AjaxFormComponentUpdatingBehavior("onchange") { > > private static final long serialVersionUID = 1L; > > protected void onUpdate(AjaxRequestTarget target) { > > .............................. > > } > > > > I have try everything : > > > > FileUpload up = logo.getFileUpload(); -> null > > File file = (File)logo.getModelObject(); -> null > > logo.getModelObjectAsString() -> null > > > > So how can i get the file or just the path and the name file???? > > > > > > -- > View this message in context: > http://www.nabble.com/Problems-with-FileUploadField-tp16823823p16824291. > html<http://www.nabble.com/Problems-with-FileUploadField-tp16823823p16824291.html> > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
