Is it possible to download multiple files at once using PrimeFaces p:fileDownload
What I had in mind would be like
<p:commandButton value="Download All Documents"
styleClass="GreenButton"
icon="fa fa-download"
title="Download all documents, generated and uploaded."
onclick="PrimeFaces.monitorDownload(null, hideLoader);"
update=":growl">
<!-- code Here
< ui:repeat> p:downloadFile (file) </ui:repeat>
-->
</p:commandButton>
I have a list of documents that needs to be dynamically, the list will differ so should be dynamically. Is there a way to do this and so how?