Print full page

UI Components for JSF
Post Reply
jinaLu1
Posts: 8
Joined: 23 Feb 2011, 12:41

17 Mar 2011, 11:09

Hi,

I need to have print possibility for the web application created using primefaces.
Now I'm using <link href="print.css" rel="stylesheet" type="text/css" media="print" /> to define what parts should be shown in print view. The necessary parts are hidden, but I noticed that the primefaces theme is not applied any more.

I checked the page using firebug and find out that it is media=screen for all primefaces generated css. I added theme according instructions in http://www.primefaces.org/themes.html.

Maybe someone dialled with same problem? What is the best way to print page in primefaces?

Thanks

Jina
PrimeFaces version: 2.2.1
Server name/version: Tomcat 6.032

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests