• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxFileUpload # 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AjaxFileUpload # 2 (From: Gino Pacitti <email@hidden>)

  • Prev by Date: AjaxFileUpload # 2
  • Next by Date: Re: Using NTLM Authentication in WO apps
  • Previous by thread: AjaxFileUpload # 2
  • Next by thread: Problem loading Ajax frameworks
  • Index(es):
    • Date
    • Thread