I am using <p:fileUpload component. I'm trying to upload several files and know when the upload is finished, by the attribute update, in order to render some parts of the page.
This is my code:
Code: Select all
<p:fileUpload
update="uploadView"
fileUploadListener="#{actionsContainer.uploadListener}"
multiple="true"
label="Upload"
allowTypes="*.jpg;*.png;*.gif;*.pdf;*.webm;*.flv;*.txt;"
global="true"
/>
, there is a loop in my backend action, and all the functionality for multiple upload is working fine, the problem is that I don't know when it is finished.update="uploadView"
In the other part, if I only turn
, there is no loop, but the event is correctly found.multiple="false"
I saw several pages and nobody talks about some conflict, am I missing something? Thanks in advance