Jump to content
Changes to the Jaspersoft community edition download ×

Can we pass Heirarchy of Objects to Jasper


Recommended Posts

By: roshansalvi - roshansalvi

Can we pass Heirarchy of Objects to Jasper

2005-03-29 02:36

I 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:55

Have 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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...