RE: JasperReports / Chenillekit-reports documentation

2010-07-30 Thread Jim O'Callaghan
ssage- From: Rich [mailto:rich...@moremagic.com] Sent: 30 July 2010 15:01 To: Tapestry users Subject: Re: JasperReports / Chenillekit-reports documentation Thiago H. de Paula Figueiredo wrote: > On Wed, 28 Jul 2010 18:13:17 -0300, Rich wrote: > >> Hi, > > Hi! > >>

Re: JasperReports / Chenillekit-reports documentation

2010-07-30 Thread Rich
Thiago H. de Paula Figueiredo wrote: On Wed, 28 Jul 2010 18:13:17 -0300, Rich wrote: Hi, Hi! java.lang.ClassNotFoundException org.apache.poi.hssf.usermodel.HSSFCellStyle java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap These are dependency problems, not Tapest

Re: JasperReports / Chenillekit-reports documentation

2010-07-28 Thread Thiago H. de Paula Figueiredo
On Wed, 28 Jul 2010 18:13:17 -0300, Rich wrote: Hi, Hi! java.lang.ClassNotFoundException org.apache.poi.hssf.usermodel.HSSFCellStyle java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap These are dependency problems, not Tapestry ones. The first one looks like P

Re: JasperReports / Chenillekit-reports documentation

2010-07-28 Thread Rich
Hi, thanks Josh, great advice! I had been looking over the Tapestry Wiki page about exporting a dynamic PDF document and they did implement a StreamResponse there, but I wasn't connecting the dots. Between the code I already had and the implementation there I was able to implement something t

Re: JasperReports / Chenillekit-reports documentation

2010-07-28 Thread Josh Canfield
Hi Rich. Caveat: I haven't used Chenillekit or JasperReports. You should probably not be trying to write to the OutputStream from the Response inside of Tapestry. Tapestry has some built-in methods for returning alternative types of data. For instance, you could implement a org.apache.tapestry5.S

Re: JasperReports / Chenillekit-reports documentation

2010-07-28 Thread Rich
Continuing the soliloquy... I got past the Module exception by allowing the configuration map to be null when building the JRProperties settings so it just uses default settings. I'm still having issues grasping the logic of getting the correct output. Using the OutputStream as I mentioned b

Re: JasperReports / Chenillekit-reports documentation

2010-07-27 Thread Rich
Hi again, well it seems the source code wasn't that involved, just a nice wrapper mostly over the file formats. It doesn't seem to have built-in JDBC connection support, so I wrote a modified version that takes an Object for dataSource and then dictates the proper JasperFillManager.FillReport