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-tp16823823p16823823.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]