I need some help here. Would appreciate any help.
a. I have 2 classes with all the getXxxx methods.
b. I need to display the beans of the first class on first page and the beans for the 2nd class on second page.
For Javabean set data source, iReport requires a return of collection of the class. Problem is when i make that collection of generic type (meaning example <Object> cos' i need to populate instances of the first and second class), iReport cannot interpret those fields to which class it belongs to.
It will work only for 1 class .. meaning i specifically make that return collection <first class> and that would work but then i dont have any data for the second class.
Hope this is clear and would appreciate any help.
Please refer to attachment.