https://gist.github.com/afsinka/3d83b5bfea9eaddecc248b0b0778aa8b
<p:commandButton value="download" ajax="false" onclick="PrimeFaces.monitorDownload(startOffer, stopOffer);"> <p:fileDownload value="#{formView.streamedContent}" /> </p:commandButton>
Last updated 5 years ago