WebObjects 5.2

com.webobjects.directtoweb
Interface ConfirmPageInterface

All Known Implementing Classes:
D2WConfirmPage

public interface ConfirmPageInterface

This interface is implemented by pages returned by the D2W method confirmPageForEntityNamed. Use methods defined in this interface to initialize a newly created confirm page.


Method Summary
 void setCancelDelegate(NextPageDelegate cancelDelegate)
          Sets the receiver's cancel delegate.
 void setConfirmDelegate(NextPageDelegate confirmDelegate)
          Sets the receiver's confirm delegate.
 void setMessage(String aMessage)
          Sets the message displayed by the confirm page.
 

Method Detail

setCancelDelegate

public void setCancelDelegate(NextPageDelegate cancelDelegate)
Sets the receiver's cancel delegate. When the user clicks 'No' in the confirm page, Direct to Web invokes the nextPage method on the cancel delegate. The page returned by that method call is the next page displayed. One normally uses this delegate mechanism to initialize the next page.
Parameters:
cancelDelegate - delegate object that receives the call to nextPage when the user clicks 'No' in the confirm page

setConfirmDelegate

public void setConfirmDelegate(NextPageDelegate confirmDelegate)
Sets the receiver's confirm delegate. When the user clicks 'Yes' in the confirm page, Direct to Web invokes the nextPage method on the confirm delegate. The page returned by that method call is the next page displayed. One normally uses this delegate mechanism to initialize the next page.
Parameters:
confirmDelegate - delegate object that receives the call to nextPage when the user clicks 'Yes' in the confirm page

setMessage

public void setMessage(String aMessage)
Sets the message displayed by the confirm page.
Parameters:
aMessage - text displayed in confim page

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.