Report download not prompting user to save

后端 未结 1 705
不思量自难忘°
不思量自难忘° 2021-01-22 14:23

I\'m trying to generate a simple PDF report using JasperReport on a button click. Here\'s the relevant code:

report.xhtml:

相关标签:
1条回答
  • 2021-01-22 15:11

    Add ajax="false" to your commandButton

    <p:commandButton ajax="false" value="#{msg['report.generate']}" action="#{generateReportBean.generateReport}" />
    
    0 讨论(0)
提交回复
热议问题