0 Replies Latest reply on Jun 29, 2008 9:43 PM by chris.simons

    Best way to enable a "Print Preview" mode?

      All,


      Just looking for some suggestions on enabling a print preview mode for any page in our application.


      We use a template to <ui:insert> each page.  I'd like to open the same page in a new window and escape the currently used template.  Then, I figured I would apply a print stylesheet and then I'd pretty much be in business.


      Is this what you would recommend doing or is there a better way?  How does one escape the currently used template or would that need to be defined within the ui:composition?


      Thanks!




      Project stats: Seam 2.0GA, JBoss 4.2 (for now), Hibernate 3.2, JSF 1.2 with RichFaces 3.1.4