I have myself created a "jar/module" for PDF rendering. This jar includes: - the facelets tags of Seam 2 (excepted the ones using Charts) for rendering PDF (uses old free version of iText) - a filter to capture the request for PDF document and render it correctly (The name of the rendered doc is in the html template as in seam 2) - a CDI component (FaceletsRenderer) that you can inject in your java code in case you need to "render" a PDF document and store it in a database or do whatever you want with it without an HTTP request that triggers the rendering. It is applicatrionscoped has one metho: public byte[] renderViewAsBytes(String template)
IMHO, for simple PDF document with moderated performance/capacity needs, it is way more easy to use compared to Jasper. Dev just have to code "normal" xhtml/facelets. For xls, we use jXls templating and rendering. Very simple to use. As the only CDI component is the "FaceletsRenderer" component, i don't know if this would be a nice addition to DS or not. However, if someone wants this to be part of DS, I would be please to help to commit it myself (before I need a fast-path training in GIT and MAVEN -from svn and ant-) Denis 2013/6/25 Dev Khadka <[email protected]>: > Do we have any plans for migrating Seam Reports to DS? > > -- > Dev Khadka > Synergy Tech Software Pvt. Ltd. > e-Mail: [email protected] > Office: 977-1-5009085, 5526297 > Mobile: +9779841358015 >
