jasperbox Posted January 21, 2011 Share Posted January 21, 2011 The javabean datasource has a list of list of collection, and each collection has a list of collections. And then I used the subreport to accomplish that. I'm able to make the subreport for the list of collection, but I cannot go to the next level and it always has error cannot find the bean. When I do the subreport of subreport, I'm not sure what's missing and I used the same approach I did for subreport. thanks so much! Link to comment Share on other sites More sharing options...
hf_monica Posted January 24, 2011 Share Posted January 24, 2011 Sorry, I've got no clue for you, I got the same problem, and after re-designing my subreport and my subsubreport a thousand times, I discovered that in the java class handling my Struts2 Action, the subsubreport Set was empty when reloading from my database (using Hibernate/Struts2)! Meaning that 1 Person has a Set of Account and each Account has a Set of Amount, but account.getAmounts().size() returns 0 for each Account (even if I can retrieve all other informations for the account).Post Edited by hf_monica at 01/24/2011 13:08 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now