This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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


Win a copy of Head First Android this week in the Android forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: [SOLVED] JasperReports doesn't display data (just headers)
 
It's not a secret anymore!