2005 IR Help Posted September 3, 2006 Share Posted September 3, 2006 By: roshansalvi - roshansalvi How to pass a collection of Java object. 2005-03-27 23:30 I am using iReport. i want to pass collection of Java object to iReport so that it can print all the data. how should i pass the collection of java object and how should i print them.. Please help me out... thanks in advance By: xpert - jcox00 RE: How to pass a collection of Java object. 2005-03-28 12:40 As in the object that you're passing to the report is of the type java.util.Collection? Are you passing it in as a parameter or field from a custom data source? By: Diogo Oliveira - diogosales RE: How to pass a collection of Java object. 2006-04-03 04:32 Hi I have exacly the same issue so I'll post it here. And yes, as for me, I'm passing a java.util.Collection from my own CustomDataSource. Inside the collection I have a small number of object of a custom type I developed. This object has something like a string and two integer fields. How can I generate a variable-size list of all the objects in my collection? Thanks. By: Diogo Oliveira - diogosales RE: How to pass a collection of Java object. 2006-04-03 06:18 Also I have a getter for it (it's in a java bean) but it's not static and the collection varies with a given argument (actually, a bean attrribute). So this is impossible using bean data source, right? 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