2004 IR Help Posted August 20, 2006 Share Posted August 20, 2006 By: barnye - barnye Subreports 2005-02-04 00:59 Hi, I have yesterday read whole day this forum and not found any solution to my problem. I have one report and this report read data from Custom Datasource which is exteded from JRAbstractBeanDataSourceProvider. For example, I fill this DataSourceProvider with JRBeanCollectionDataSource(collection).This collection contains Bean CustomerImpl. Now I would like to add to bean CustomerImpl this getter. public Collection getServices() { } and this return collection associated to the Customer. This collection data i would like to display into subreport on customerPage. Whole report shows collection of Customers and their collection of services... I am confused what I have to return to the subreport. I have set in subreport the dataSourceExpression ? But I dont know which type have to be this expression . DataSource (i.e. JRBeanCollectionDataSource) or BeanDataSourceProvider (i.e. JRAbstractBeanDataSourceProvider)... Thanx for any suggestion... -B- 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