2001 JI Open Discussion Posted August 21, 2006 Share Posted August 21, 2006 By: roshansalvi - roshansalvi Can we pass Heirarchy of Objects to Jasper 2005-03-29 02:36I have gone through datasource example given by jasper report . Actually i am using iReport. Again in datasource example it is simple example. i want to pass object tree that is. for eg.. Test contains many subject, each subject contains many question, each question has many options. etc... that means object contains collection of object and i want to iterate that. Again does jasper support vector or any collection so how could i achieve this. Please help me out. I will be thankfull to you. i want to know how can i iterate so that if i have collection of object all will be print on report Roshan By: Doug Berkland - berkland RE: Can we pass Heirarchy of Objects to Jasper 2005-03-29 15:55Have a peek at net.sf.jasperreports.engine.data.JRBeanCollectionDataSource in the API. There may also be a demo that uses it. 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