I am trying to do something like the following:

        ListPageInterface lpi = 
(ListPageInterface)D2W.factory().pageForConfigurationNamed("ListPortfolioProject",
 session());
        EOArrayDataSource ds = new EOArrayDataSource(null, 
session().defaultEditingContext());
        ds.setArray(reportItems);
        lpi.setNextPage(this.context().page());
        return (WOActionResults)lpi;

but it crashes on pageForConfigurationNamed ...



[2011-12-7 11:32:24 CST] <WorkerThread0> 
<com.webobjects.appserver._private.WOComponentRequestHandler>: Exception 
occurred while handling request:
java.lang.IllegalStateException: Couldn't find the dynamic page named 
ListPortfolioProject in your DirectToWeb model.
[2011-12-7 11:32:24 CST] <WorkerThread0> java.lang.IllegalStateException: 
Couldn't find the dynamic page named ListPortfolioProject in your DirectToWeb 
model.
        at com.webobjects.directtoweb.D2W._dynamicPageNamed(D2W.java:975)
        at 
com.webobjects.directtoweb.D2W.pageForConfigurationNamed(D2W.java:966)
        at com.tos.reports.ReportPickConfig.runCustom(ReportPickConfig.java:268)

What am I missing?

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