Ive been browsing the forums for a while now and I've also been browsing the IcePDF website to find out what version of JSF is required to be able to run the latest version of IcePDF.
I wasn't able to find my answer so I was wondering if one of you members/staff could provide me with some more information.
I'd like to know if is it actually possible to use IcePdf with JSF 2.0? If so, is there any example or tutorial showing how to do it? I've been browsing to figure out something about this, but I've got no success.
The user guide that I downloaded from IcePdf home page unfortunately is not usefull because its examples are about desktop application
It is possible to use the ICEpdf with JSF 2.0. As mentioned early the example was written for ICEfaces 1.8.x and JSF 1.2.
The core of the example is a Servlet that uses the ICEpdf library to render a PDF's page content to a buffered image. The images is then streamed as part of the Servlet response. This Servlet approach could be rewritten into a JSF 2.0 application.
The code to render and serve a PDF page capture is actually quite simple. But there is quite a bit of code to manged the sate of the user interface.