2006 JR Open Discussion Posted August 22, 2006 Share Posted August 22, 2006 By: Rizwan - rizmerc Accessing lists within collection bean 2006-03-23 12:03 Hi, I am trying to create a report of orders which I am passing to jasper as a collection using the JRBeanCollectionDataSource data source. In the detail section, when I list each order, I would like to access a list called "packages" for that particular order and display the details of each of the packages for that order. So an order can have one or more packages. My question is how do i access the "packages" list inside the order object? My report needs to look something like:- Order# 955 Consignee: XYZ Package 1 weight : 12 lbs Package 2 weight : 15 lbs Package 3 weight : 2 lbs Order# 956 Consignee: ABC company Package 1 weight : 1 lbs Package 2 weight : 9 lbs Package 3 weight : 4 lbs 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