swetha reddy Posted July 11, 2007 Share Posted July 11, 2007 Hi, I have an object which contains list of other objectsEx; Claim.ClaimLocations.Claim is my object and it has list of ClaimLocations.I want to print these list of claim locations objects using ireport. I can pass only the claim object as i have to print the fields in claim and claim locations listHow can i iterate and print these objects. Please help me regarding this.Post edited by: swetha reddy, at: 2007/07/11 04:15 Link to comment Share on other sites More sharing options...
suman_alla Posted July 11, 2007 Share Posted July 11, 2007 hi i have also faced the same problem earlier. i came to solve that by using sub reports. cast the claim locations list to JRBeanCollectionDataSource object. create a sub report and pass the bean collection object as datasource expression for the sub report from your main report..... bay.......Post edited by: suman_alla, at: 2007/07/11 08:18 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