<p>HI All,</p><p> Below is JSF code i have written for Export report in JSF.</p><pre class="_prettyXprint _lang-"><div class="chart_title"> <h:outputText value="Report " /> <h:commandLink styleClass="exportExcel" onclick="JSF4Actuate.pdf('myForm:productReportId')">= <f:ajax execute="
@form" render="
@none" /> </h:commandLink> </div> <br /> <div class="scroll_div"> <birt:birtWrapper id="productReportId" reportDesign="/reports/database_growth_report.rptdesign"> </birt:birtWrapper> </div></pre><p>This is working. But when i load this page. It takes time to generate birt report and then render page. and if i click on "Export PDF", it again call to report.</p><p> </p><p>For improvement in this functionallity, is there any way, so that i can get report only on clicking "Export Pdf" functionality , instead of page load.</p><p> </p><p>I tried with below code, but it didn't work for me.</p><pre class="_prettyXprint _lang-"> <div class="chart_title"> <h:outputText value="Database Growth Report 1 " /> <h:commandLink styleClass="exportExcel" onclick="JSF4Actuate.pdf('/reports/database_growth_report.rptdesign')">= <f:ajax execute="
@form" render="
@none" /> </h:commandLink> </div></pre>