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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to