[ 
https://issues.apache.org/struts/browse/WW-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40066
 ] 

Tom Schneider commented on WW-803:
----------------------------------

I vote that this be implemented as a struts 2 plugin.

> JFreeReport Result
> ------------------
>
>                 Key: WW-803
>                 URL: https://issues.apache.org/struts/browse/WW-803
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Views
>    Affects Versions: WW 2.1.7
>            Reporter: Grégory Joseph
>             Fix For: Future
>
>         Attachments: jfreereportresult-20050707.tgz
>
>
> Hi,
> JFreeReports is a nice reporting tool that can generate pdf, html, csv, txt.. 
> much like JasperReports; their api looks cleaner to me, but you unfortunately 
> have to provide a javax.swing.TableModel instance as the base for your data. 
> (You can however use any other variables.. probably needs some tweaks to get 
> them from the stack though)
> http://www.jfree.org/jfreereport/
> Please find attached a Result implementation for JFreeReports. Much inspired 
> by JasperReportsResult, but a bit more clean, I believe, and streams the 
> result instead of buffering the whole pdf into a byte[].
> It currently only supports pdf output, but adding others should be trivial. 
> Also lacks some caching mechanism for report templates. I just thought I'd 
> give it as-is, and I'll improve it over time as needed. 
> Currently the location parameter is used as a resource reference 
> (/com/foo/...), maybe that should be aligned with other views ?
> The sample directory contains an adapted sample from the JFreeReports source 
> distribution. (Added an action class and xwork.xml)
> The dependencies.txt contains a list of all dependencies that are needed for 
> the sample to work, extracted from my maven pom. Depending on what features 
> are used, some of them are not necessary at runtime and/or compile time.
> Please let me know what you think.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to