I prompted about the report service a while back, and had little response. I would say that now is a very good time for changes, especially to get new services available.
If you don't submit the changes to cvs, I'd really appreciate a copy myself.
Thanks Aleks!
gene
Aleksandar Vidakovic wrote:
Salut all,
is svc-report-jfreereport finished? Or better: is someone using it? I'm asking because I'd like to propose a slight change in the ReportData class. Right now the data is a java.util.LinkedHashSet (rows) of java.util.LinkedHashSets (one row). As I'm on the way to implement a JasperReports service it would be really convenient to change the data structure to a java.util.List of java.util.Collection. I think this would be much more flexible...
BTW, I cannot imagine that someone is using svc-report-jfreereport, because it seems not to be finished. There is no relation between the ReportData which is handed over to the service and the TableModel which is needed by JFreeReport. See the following code snippet from JFreeReportReportFactory:
[code]
...
public void saveReport(String fileName, String fileType) throws ReportException { URL template = null; try { template = new URL("file://" + formatFile); } catch (MalformedURLException me) { throw new ReportException("Malformed url for template file:", me); } JFreeReport theReport = parseReport(template);
TableModel theData = new DefaultTableModel();
theReport.setData(theData);
...
[/code]
A new TableModel is created, but it is not filled with the report data.
Anyone against these changes? Does this break something? If there is no opposition I'd like to make these changes and fix the JFreeReport/submit the new JasperReports implementation...
Cheers,
Aleks
http://keelframework.org/documentation Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
http://keelframework.org/documentation.shtml Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com