• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printer Command JSF JavaScript

 
Himalay Majumdar
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to print an .xhtml page on click of a button.

In my page on a click of link I include the below xhtml page, which I want to print when the "Print Statement" button is clicked



I think some sort of coordination is needed between facelets and JavaScript to make it happen. May be passing the resolved SomeViewData.xhtml to JavaScript variable and printing.

Can anyone help me with this.

Thank you,
Himalay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic