This content has been marked as final.
Show 3 replies
-
1. Re: Richfaces 4, rich:fileUpload error with the inputStream
michpetrov Apr 16, 2014 3:40 AM (in response to ivanlch08)Hi,
you should process the file as soon as you upload it. The file is stored in a temporary location so by design it will only be available for a short while. As for your use-case - the user already clicked the upload button, why put another one in front of him?
-
2. Re: Richfaces 4, rich:fileUpload error with the inputStream
ivanlch08 Apr 16, 2014 10:45 AM (in response to michpetrov)Hello Michal, thank you for you answer. The app have a form with many fields, one of them is the fileUpload. The last button is a confirmation button, when the user confirm by pressing that button, the app process all data, including the file.
If the component was designed that way, I have to change it.
thanks.
-
3. Re: Richfaces 4, rich:fileUpload error with the inputStream
michpetrov Apr 16, 2014 10:58 AM (in response to ivanlch08)Ah, I see. Still, just save it to a less temporary file and when you submit the form use that file.