Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other JSE/JEE APIs and the fly likes [SOLVED] JasperReports doesn't display data (just headers) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "[SOLVED] JasperReports doesn Watch "[SOLVED] JasperReports doesn New topic
Author

[SOLVED] JasperReports doesn't display data (just headers)

Roberto Lopez Lopez
Greenhorn

Joined: Jun 16, 2008
Posts: 22
Hi guys,

I'm building a report using JasperReports 1.2.7 and web services (Spring 2.5.6). I compiled successfully a simple report layout using iReport. But now I'm trying to use it with a JRBeanArrayDataSource and nothing but the headers of the columns is displayed. This is part of my form controller method, where I'm supposed to build the report.



Where NewReport and FilesReport are helper classes. The data is correctly loaded into the attributes reports and result.jreport.






I'm not an expert at all using Spring and JasperReports (it's my first report), any tip please???
Roberto Lopez Lopez
Greenhorn

Joined: Jun 16, 2008
Posts: 22
I managed to solve the problem. It was due to using jasperreports v1.2.7 and templates compiled using ireport v3.5.2... first time and last time I get trapped into this trick
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: [SOLVED] JasperReports doesn't display data (just headers)
 
It's not a secret anymore!