sazoo Posted October 16, 2006 Share Posted October 16, 2006 Hi, Just want to ask, I want to make an arraylist as my datasource, it creates a pdf file but the contents of the array list is not there... here's the code. JRBeanCollectionDataSource ds = new JRBeanCollectionDataSource(list); jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(),ds); JasperExportManager.exportReportToPdfFile(jasperPrint, "test.pdf"); tnx Link to comment Share on other sites More sharing options...
Teodor Danciu Posted October 23, 2006 Share Posted October 23, 2006 Hi, Please check the supplied /demo/samples/datasource sample provided with the project and see how that one works. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now