[jboss-user] [JBoss Seam] - Re: render pdf without landing on blank page?

dustismo do-not-reply at jboss.com
Thu Jun 7 13:17:26 EDT 2007


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#4052243

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052243



More information about the jboss-user mailing list