- Implemented by:
- D2WEditRelationshipPage
- Package:
- com.apple.yellow.directtoweb
This interface is the return value for the editRelationshipPageForEntityNamed
method that creates an edit-relationship page. The methods defined by this interface initialize the newly created page.
- Managing the Next Page Parameters
- setNextPage
- setNextPageDelegate
- Setting the Object
- setMasterObjectAndRelationshipKey
anObject
. Sets the property key for the relationship that is edited to key
. For example, to edit a movie's toStudio
relationship, set anObject
to a Movie object and set key to "toStudio".
setNextPage
public abstract void setNextPage(WOComponent nextPage)
Sets the page that is displayed when the user clicks Return in the edit-relationship 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 edit-relationship page, Direct to Web invokes the nextPage
method on the next page delegate.
See Also:
NextPageDelegate
[Table of Contents]