String listConfigurationName=(String)d2wContext().valueForKey("listConfigurationName"); if(listConfigurationName!=null){ ListPageInterface listpageinterface = (ListPageInterface)D2W.factory().pageForConfigurationNamed(listConfigurationName, this.session()); listpageinterface.setDataSource(queryDataSource()); listpageinterface.setNextPage(this.context().page()); return (WOComponent) listpageinterface;
if(nextPageDelegate() == null) { String listConfigurationName=(String)d2wContext().valueForKey("listConfigurationName"); if(listConfigurationName!=null){ ListPageInterface listpageinterface = (ListPageInterface)D2W.factory().pageForConfigurationNamed(listConfigurationName, this.session()); listpageinterface.setDataSource(queryDataSource()); listpageinterface.setNextPage(this.context().page()); return (WOComponent) listpageinterface; }
    public WOComponent queryAction() {        String listConfigurationName=(String)d2wContext().valueForKey("listConfigurationName");        if(listConfigurationName!=null){            ListPageInterface listpageinterface = (ListPageInterface)D2W.factory().pageForConfigurationNamed(listConfigurationName, this.session());            listpageinterface.setDataSource(queryDataSource());            listpageinterface.setNextPage(this.context().page());            return (WOComponent) listpageinterface;        }        return super.queryAction();    }