This content has been marked as final.
Show 1 reply
-
1. Re: render pdf without landing on blank page?
dustismo Jun 7, 2007 1:17 PM (in response to dustismo)To answer my own question:
<!-- want this action to open in new window --> <h:commandButton value="Export Now" action="#{graphReport.export()}" onclick="document.getElementById('graphreport_fm').target='_new';" /> <!-- dont want this action to open in new window --> <h:commandButton value="Save" action="#{graphReport.email()}" onclick="document.getElementById('graphreport_fm').target='';" />