JSF Open new window and display bean data

Posted by JSFPRINTER on Stack Overflow See other posts from Stack Overflow or by JSFPRINTER
Published on 2011-01-11T15:48:38Z Indexed on 2011/01/11 15:53 UTC
Read the original article Hit count: 258

Filed under:
|
|

I am running JSF 2.0 and the latest version of Primefaces 2.2RC1 I believe. I am trying to create a printer friendly window. When the user clicks on a p:commandLink I want a new window to open and display a xhtml file I have named printView.xhtml.

Now I can get the window working fine using JavaScript window.open but when I open the new window it will not render any values it just displays everything as #{myBean.value}. Does anyone know how to properly open a window and extend the current scope of the application into that window so I can call all of my managed beans properly and display the values etc. etc.

© Stack Overflow or respective owner

Related posts about jsf

Related posts about jsf-2.0