Jump to content
JasperReports Library 7.0 is now available ×

Nested subreports Jaspersoft Studio


claus_biz94

Recommended Posts

Hi,

I'm using jaspersoft Studio to generate a PDF from Java using Spring MVC Framework. I have a master report, then a subreport (SubReportOne) in the master report and a subreport (SubReportTwo) in the subreport (SubReportOne). I have succesfully displayed data in both of the subreports but here's the problem. In (SubReportOne) i'm displaying a list of objects which are filtered by the user's username, and in SubReportTwo I'm displaying a list of objects which are filtered by the objects in SubReportOne. But in Java both datasources are lists and I have to iterate through them. Instead of displaying two times SubReportOne with the values from SubReportTwo, it shows all of the values from SubReportTwo in the first SubReportOne and the second one is empty (see the picture).

 

mockNestedSubr.png.97a3a72cd9cb39c122f408eefcf02ec2.png

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...