This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes passing a collection to jasper report xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "passing a collection to jasper report xml file" Watch "passing a collection to jasper report xml file" New topic
Author

passing a collection to jasper report xml file

Nesrin aboud
Ranch Hand

Joined: Feb 08, 2010
Posts: 48
I am creating a jasper report, the data is a collection, and tha java part of code I wrote as follows



now my problem is how to use this collection as a datasource inside the jrxml file
so the nams of the fields (as fullName, birthDate) inside RepEmployee bean can be read in the jrxml file
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: passing a collection to jasper report xml file