This content has been marked as final. Show 5 replies
The only thing you can do its to upload the file one after the other using ADF. As far as I know jsf 2.2 draft may introduce a multi file upload.
Hi Surya ,
Did you get any solution?
I also have the similar requirement wherein I need to show progress of each upload as well ( like gmail attachments).
Uploadify (http://www.uploadify.com/) is a JQuery solution for handling multiple file uploads.
I can think of a solution using ADF
One thing you can do is to have a managed bean has List<UploadedFile> files
And you can generate your inputFile to use valueChangeListener and ofcourse don't forget the auto submit to be true, and once you submit a value, you can add it to the uploadedFile "files" list.
The only problem you may have is that when a user try to update an existing uploaded file, I believe this may require tweaking so instead of having List<UploadedFile> you can have a Hashtabl<UIComponent,UploadedFile> to make sure you map things correctly!
I'll try it and let you know the results
Edited by: agawish on Mar 6, 2012 11:28 PM