com.webobjects.directtoweb
Interface ErrorPageInterface
- All Known Implementing Classes:
- D2WErrorPage
- public interface ErrorPageInterface
This interface is implemented by pages returned by the D2W method
errorPageForEntityNamed
. Use methods defined in this
interface to initialize a newly created error page.
Method Summary |
void |
setMessage(String errorMessage)
Sets the message displayed by the error page. |
void |
setNextPage(WOComponent nextPage)
Sets page to display when the user clicks 'Return' in the error page. |
setMessage
public void setMessage(String errorMessage)
- Sets the message displayed by the error page.
- Parameters:
errorMessage
- text displayed in error page
setNextPage
public void setNextPage(WOComponent nextPage)
- Sets page to display when the user clicks 'Return' in the error page.
- Parameters:
nextPage
- page returned when 'Return' button is clicked in the page
Copyright © 2003 Apple Computer, Inc.