• 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

JasperReports with multiple nested subreports

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have the Report Structure as follows:
--Main Report (populated from a Java bean object, contains list<Object1> to populate subreport1
------SubReport1 (Contains <List<Object11> and List<Object 12>, to be populated from Java bean object as well).
-----------subreport11
----------------subreport111
----------------footerSubreport
-----------subreport 12
------Subreport2
-----------subreport21
-----------subreport22

I am using JRBeanCollectionDataSource to populate the reports. I am able to populate Main Report, Subreport1, but unable to populate subreport11 , subreport 12 and subreport111.

When I pass the parameter for subreport11 in Main Report, do I need to have datasource name same that is needed for subreport11? If so, how will I populate subreport 12?

I am using subreport 5.1.0.

Thanks
Bharati

reply
    Bookmark Topic Watch Topic
  • New Topic