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

datasource subreports


tedpet5

Recommended Posts

I am creating a jasperreport in a webobjects app. so I am feeding my jasperreport Fields and Parameters.

This is working just fine. One of my Fields is  called    pwoMileStones. This is an array of objects such that pwoMileStones_msDate yields, (2013-01-30 00:00:00 Etc/GMT, 2013-01-29 00:00:00 Etc/GMT, 2013-02-27 00:00:00 Etc/GMT) in my pdf. 

Basically the object has two attributes,  msDate and msDescription.

What I want to do is iterate over this array and do something like this

for (i=0; i< pwoMileStones.count(); i++) {

pwoMileStones_msDate.value    pwoMileStones_msDescription.value;

}

Is this understandable? I want to iterate through the array and print the Strings.

Ted

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...