tedpet5 Posted January 20, 2013 Share Posted January 20, 2013 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 thisfor (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 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