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.
I want create a pdf using iText. The method which does this is a
Share
Add
target="_blank"attribute to the<h:form>and it will submit into a new tab/window.