title: Export Dynamic HTML to PDF in JSF , PrimeFaces?
body: <p>I want to convert a HTMl file into a PDF file using Primefaces. </p>
  
  <p>I am familiar with <a href="https://stackoverflow.com/questions/19786113/export-html-page-to-pdf-on-user-click-using-javascript">JavaScript Exports</a>.</p>
  
  <p>Is there a way to have the same in JSF,Primefaces.</p>
  
  <p>Need reference document or links which such functionality in JSF,Primefaces.</p>