title: Getting the PDF created using iText as pop up in JSF
body: <p>I want create a pdf using iText. The method which does this is a JSF bean. What I want is, on click of a commandButton in JSF page, the PDF is created. It must then open as popup in a new window(or tab) keeping the JSF page unaltered. How can I accomplish this ? I know there is a way in javascript in which we can open a new window using window.open(), but then I want to access the list from JSF bean to create pdf.
  Thanks.</p>