1 Reply Latest reply on Mar 11, 2011 7:52 AM by rocketman2010

    RichFaces 4: get temp filename from FileUploadEvent

    rocketman2010 Newbie

      Hi there,

       

      I am using RichFaces 4 with rich:fileUpload and createTempFiles set to true.

      In the FileUploadEvent I would like to get the path & filename of the temp file (I can see that the file has been created in the temp folder) to rename and move it to my web/image folder.

       

      But...

       

      UploadedFile item = event.getUploadedFile();

      has no reference to the file. And I can not get a reference to

      org.richfaces.request.FileParam
      

      since the class is not public.

       

      Any Ideas? Thanks for helping out,

      Sascha