Jump to content
We've recently updated our Privacy Statement, available here ×

Can I use a Field as a datasource?


tedpet5

Recommended Posts

I am passing data to my jasperreport from my webapp. Each object is in the form of:

{

description String

usename String

steps array of strings

theDate date

}

those objects are my Fields 

In the iReport manual, it only mentions using parameters as a datasource.

Can I safely use a Field as a datasource to pass to a subreport or a list element?

new JRBeanCollectionDataSource($F{steps})

 

Link to comment
Share on other sites

  • Replies 1
  • 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...