I have a multiple p:fileUpload
, I need to upload from 1 to N files on server, after uploading I need to know how many files were uploaded and then start processing method. How can I know when all files are uploaded? I have not found any event for multiple upload, there is event only for individual files, oncomplete
in p:fileUpload
also works for every file individually. I had idea to use additional button to invoke processing method, but this is not safe, because user can push this button before all files are uploaded. Who can advice me something?