passing domain objects as inputs for the report
Posted 12 April 2012 - 07:58 AM
Invoice invoice = new Invoice();
List<Invoive> list = new ArrayList<Invoive>();
The collection needs to be passed to the birt and displayed in the report(in the table format). Kindly let me know how to acheive this.
Posted 12 April 2012 - 11:12 AM
Then in the report access the list like:
var arrlist = reportContext.getAppContext().get("myarrlist");
To handle array list look at the attached report. I use a beforeFactory event to load it up, while you will be doing this in your api code.
Number of downloads: 10