You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Tom Schneider (JIRA)" <ji...@apache.org> on 2007/10/30 05:10:41 UTC

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

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

Tom Schneider closed WW-803.
----------------------------

    Resolution: Won't Fix
      Assignee: Tom Schneider

My recommendation stands and I think this should be implemented as an external plugin hosted on googlecode.  Please create an entry on the Plugin Registry if you do decide to host this externally so others can easily locate your 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
>            Assignee: Tom Schneider
>             Fix For: 2.1.1
>
>         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.