[jboss-user] [JBoss Seam] - Re: JasperReport+Seam

jazir1979 do-not-reply at jboss.com
Wed Nov 28 16:47:54 EST 2007


"mirlabraga" wrote : Hello People
  | 
  | How do I do for create a report with Jasper Report and show on Seam?
  | 
  | Is It possible?
  | 
  | I cant'n use the lib of the Seam (jboss-seam-pdf.jar), because my bussing request 
  | 
  | Jasper Report.
  | 
  | Thanks.

Hi, it certainly is possible.  On my project I wrote a custom JSF component (extending UIComponentBase) that allows me to preview a report in HTML and generate an export to any of the supported output formats (PDF, etc).

I allow input boxes as child elements of my report component to provide user filters, eg:


  | <x:report reportName="invoice">
  |     <h:outputLabel....>
  |     <h:inputText.....>
  | </x:report>
  | 

I gave some hints about the implementation in a previous forum post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=109188

Ideally I would like to extract this code from my project and provide a 3rd-party JSF component, but I do not have permission to do this (yet).

Hope this helps,
Daniel.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108689#4108689

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108689



More information about the jboss-user mailing list