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='';"
| />
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052243#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...