vaskalas Posted May 6, 2008 Share Posted May 6, 2008 So I'm using a javabean collection as my datasource for my reports. Everything is working well until i come across a field on my bean, that is an arraylist. I want to display all the elements in that arraylist in my report. What would be the best way to go about doing that? Ideally I would like to create a subreport but I cannot figure out how to use that arrayList as its datasource (is it possible). I'm attempting this using iReport and am a newbie with both i and jasper reports so any help is appreciated. Link to comment Share on other sites More sharing options...
mfricke Posted June 24, 2008 Share Posted June 24, 2008 I also need the answer to this question. I have searched and cannot find any information on this, and IReport permits only the use of primitives and a Java 'Object'. Link to comment Share on other sites More sharing options...
LexD Posted July 3, 2008 Share Posted July 3, 2008 It is wrong!!! I spent a lot of time and found the answer to this question. Answer to this question - http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=9&id=37344#37344 I did it. Field type Collection of any bean showing in subreport! Link to comment Share on other sites More sharing options...
benoitx Posted October 31, 2008 Share Posted October 31, 2008 HiThe link on the last answer seems to be broken... Does anyone know the correct link?Many thanksBenoit 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