Re: AjaxFileUpload # 2
Re: AjaxFileUpload # 2
- Subject: Re: AjaxFileUpload # 2
- From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
- Date: Mon, 21 Nov 2011 12:13:51 +0100
Yes it is,
in your .wod
FileUpload: WOFileUpload {
filePath = nomFichier;
streamToFilePath = cheminFichier;
overwrite = true;
uploadLabel = "Importer";
}
In your .java
public String getNomFichier() {
return _nomFichier;
}
public void setNomFichier(String newValue) {
_nomFichier = newValue;
_cheminFichier = ""pathToSavedFileThatContainsTheFilename";
}
public String getCheminFichier() {
return _cheminFichier;
}
Jérémy
Le 21 nov. 2011 à 12:06, Gino Pacitti a écrit :
> Hi Again...
>
> Hope I am not being too demanding today...
> Is there a way to specify the filename of the uploaded file so that I can provide a custom name to the saved file?
>
> Gino
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden