FileUploads just can't be sent via Ajax. This is a limitation of Ajax or the current browsers if you might say so. It has nothing to do with Wicket.
2008/4/22, Fabien D. <[EMAIL PROTECTED]>: > > > 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 > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- greetings from Berlin, Rüdiger Schulz www.2rue.de www.indyphone.de - Coole Handy Logos einfach selber bauen