my dog learned polymorphism*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
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
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Moving to Other Open Source Projects.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
 
Similar Threads
Passing an Array to iReport
Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
Error loading object from file in JasperReport Can any one Help...
org.xml.sax.SAXException when generating Jasper report
Servlet can't find the specified path