You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/10/10 02:23:15 UTC

[jira] Reopened: (WW-803) JFreeReport Result

     [ http://issues.apache.org/struts/browse/WW-803?page=all ]

Don Brown reopened WW-803:
--------------------------

             
Sorry, this hasn't been fixed.

> JFreeReport Result
> ------------------
>
>                 Key: WW-803
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira