cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: JasperReports / JFreeReports
Date Wed, 07 Sep 2005 07:21:53 GMT
Hi Yves,

I wrote a reader (which is far from being mature). It's not really 
integrated into Cocoon.  Let me know if you're interested.

Here's how it works:

An entry in the sitemap could look like this:

<map:match pattern="myreport">
                <map:read src="report/classic.jrxml" type="jasperreport">
                        <map:parameter name="JDBCDatasource" value=
                        <map:parameter name="JDBCUser"       value=
                        <map:parameter name="JDBCPass"       value=
                        <map:parameter name="JDBCDriver"     value=
                        <map:parameter name="custom" value=


As you can see there's no connection between the XML created by Cocoon, so 
the XML file with the report design must be present in the file system. 
URLs will not work in the src attribute (because JasperReports won't 
accept URLs). But it's OK to use with legacy reports. Nevertheless, you 
can pass parameters from the sitemap to the report . If this is what 
you're looking for, I would share the code somewhere.

I'd love to write a transformer for this, but since the XML processor is 
part of JasperReport (using Apache Commons Digester) and also a part of 
Cocoon, I couldn't find any "interface" where I could plug in cocoon the 
deliver the XML. 

Does anyone know about other tools which also use a GUI to create reports 
and work with cocoon?

schrieb am 06.09.2005 18:31:03:

> Hi,
> Is there any interaction that exists (serializers, transformers, ...) 
> between Cocoon and JasperReports and JFreeReports ?
> Met vriendelijke groeten,
> Bien à vous,
> Kind regards,
> Yves Vindevogel
> Implements
> Mail:  - Mobile: +32 (478) 80 82 91
> Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76
> Web:
> First they ignore you.  Then they laugh at you.  Then they fight you. 
> Then you win.
> Mahatma Ghandi.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
View raw message