15,000 Jobs Available in:
Java, ASP, C#, PHP, SQL, SAP, MySQL and many more.
- Class Quick -
The moose likes Other Open Source Projects and the fly likes Problem in passing JRBeanCollectionDataSource as parameter to jasperreport Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Problem in passing JRBeanCollectionDataSource as parameter to jasperreport" Watch "Problem in passing JRBeanCollectionDataSource as parameter to jasperreport" New topic
Author

Problem in passing JRBeanCollectionDataSource as parameter to jasperreport

Hindusthan Kamal
Greenhorn

Joined: Jul 26, 2010
Posts: 13
I had created a java class which has array list, I has passed the array list as JRBeanCollectionDataSource to jasper report as



The error I am facing is

net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : new JRBeanCollectionDataSource(sub_para)


I think the error is in jasper report, I am using ireport tool to design the reports

My question is how to create a new parameter in the main report, and how to pass the parameter to sub report..

Please help me to solve this...



Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 17259

Moving to Other Open Source Projects.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
 
subject: Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com