File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Printer Command JSF JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Printer Command JSF JavaScript" Watch "Printer Command JSF JavaScript" New topic

Printer Command JSF JavaScript

Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
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,

SCJP 1.6, SCWCD 5.0, SCBCD 5.0 [loading..]
jQuery in Action, 2nd edition
subject: Printer Command JSF JavaScript
Similar Threads
disabling IE security pop up window
Print in A5 size
json object send to JSF backing bean to xhtml page
how to give print option to any page?
jsp:useBean doubt