• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic