I\'m trying to generate a simple PDF report using JasperReport on a button click. Here\'s the relevant code:
report.xhtml:
Add ajax="false" to your commandButton
<p:commandButton ajax="false" value="#{msg['report.generate']}" action="#{generateReportBean.generateReport}" />