jasperreport help please
jasperreport help please
- Subject: jasperreport help please
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 19 Jan 2013 21:36:47 -0800 (PST)
I hope someone has worked this out because I am so tired.
I am creating a report and I recently add a to-many relationship to my EO. The EO is printing and I understand how to use iReport to add my Fields. but I don't understand how to get this to_many to print.
if I add a field of pwoMileStones, I get the Array of objects. So I followed Kieran's example and used the underscore to get to the attributes.
so:
pwoMileStones_msDate gives me an Array. Actually $F{pwoMileStones_msDate} in the page prints as:
MS Date: (2013-01-30 00:00:00 Etc/GMT, 2013-01-29 00:00:00 Etc/GMT, 2013-02-27 00:00:00 Etc/GMT)
I thought I could use a Report Group but that isn't working out. at lease the docs that I am reading doesn't seem to make sense for this problem.
I am at a loss. pwoMileStones is a array of objects. the object has two attributes (msDate, msDescription).
Do I need a subReport?
Going to bed. Will pick it up tomorrow. Or rather in a few hours.
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden