Back to the plot… ERExcelLook
Back to the plot… ERExcelLook
- Subject: Back to the plot… ERExcelLook
- From: James Cicenia <email@hidden>
- Date: Thu, 08 Dec 2011 19:11:13 -0600
Ok after all that, I now want my custom report to export out to excel.
I set up all the rules (I think) but when it exports the spreadsheet, the column headings are there but there is no data. I know the array I passed in has data.
public WOActionResults runCustomExcel(){ ListPageInterface lpi = (ListPageInterface)D2W.factory().pageForConfigurationNamed("ListPortfolioProject", session()); EOArrayDataSource ds = new EOArrayDataSource(null, session().defaultEditingContext()); System.out.println("List Count is "+((Session)session()).theList.count()); ds.setArray(((Session)session()).theList); lpi.setNextPage(this.context().page()); return (WOActionResults)lpi; }
I am mapping task, subTask, entity and entityName. And yes I am using the correct assignments.
Thanks James |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden