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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]