2 Replies Latest reply on Dec 9, 2008 1:06 PM by edesilva

    fileUpload as a FileChooser

    edesilva

      Hello, I'm trying to use the tag s:fileUpload to get just the file name, I don´t want to upload the file just get its properties. Any ideas and some example codes? Thank you.

        • 1. Re: fileUpload as a FileChooser
          swd847

          Just off the top of my head I would suggest using javascript, when they hit the submit button get the file name, assign it to a hidden field and then clear the file upload. No need to use s:fileupload then, you can just use standard HTML tags.


          • 2. Re: fileUpload as a FileChooser
            edesilva

            Thanks! But now I'm facing a security problem, Firefox 3 just keeps the file name at value property, at IE I can get the full path.I will keep trying...