I'm using Webwork's jasperreports plugin and i was wondering if i could set two datasources for a report
currently i have this result mapping: <result name="success" type="jasper"> <param name="location">/Jasper/our_compiled_template.jasper</param> <param name="dataSource">allCallsByDate</param> <param name="format">PDF</param> </result>
allCallsByDate is a collection of CallsByDate objects.
what if i want to add another collection to be used for the same report?
I have a question to ask you, are you designing a web app where you can access your reports generated through jasper reports?
one way to set multiple datasources is to have them defined in your iReports tool and use the tool to complie the ( .jrml to .jasper file) and define which data source you want your report to use in the web app.