Documentation Archive Developer
Search
PATH Documentation > WebObjects

Up

ListPageInterface


Implemented by:
D2WListPage
D2WMasterDetailPage
Package:
com.webobjects.directtoweb

Interface Description



This interface is the return value for the D2W listPageForEntityNamed method that creates a list page. The methods defined by this interface initialize the newly created page.

Method Types


Managing the Data Source
setDataSource

Managing the Next Page Parameters
setNextPage
setNextPageDelegate


Methods



setDataSource


abstract public void setDataSource(EODataSource dataSource)

Sets the receiver's data source to dataSource. This data source contains the group of objects listed on the page.



setNextPage


public abstract void setNextPage(WOComponent nextPage)

Sets the page that is displayed when the user clicks Return in the list page. If the new page needs to be initialized, set the next page delegate instead.



setNextPageDelegate


public abstract void setNextPageDelegate(NextPageDelegate nextPageDelegate)

Sets the receiver's next page delegate to nextPageDelegate. When the user clicks Return in the list page, Direct to Web invokes the nextPage method on the next page delegate.

See Also:
NextPageDelegate


Up

© 2001 Apple Computer, Inc.