Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Direct to Web

D2WConfirmPage

Package: com.apple.yellow.directtoweb

Inherits from:D2WPage

Implements:

Subclasses:


Class Description

This class provides the behavior for the confirm page Direct to Web templates, specifically BASConfirmPage, NEUConfirmPage, and WOLConfirmPage. The classes for these pages inherit directly from D2WConfirmPage and define no additional methods or variables.

Most of the methods in this class are accessed (via the EOKeyValueCoding interface defined in the EOControl framework) from the Direct to Web template's bindings (.wod) file. If you create a Direct to Web template from a confirm page, you can invoke the methods in this class in the same way. See the "Direct to Web" chapter of WebObjects Tools and Techniques for more information about creating a Direct to Web template.

Method Types


Constructors

Actions
Managing the Message
Managing the Next Page Parameters
Private Methods


Constructors


com.apple.yellow.directtoweb.D2WConfirmPage

public D2WConfirmPage()

Standard Java no-argument constructor.
Methods


cancelAction

public WOComponent cancelAction()

This action method is invoked when the user clicks Cancel. If you need this method to execute custom code, use the cancel delegate.

See Also:
setCancelDelegate



confirmAction

public WOComponent confirmAction()

This action method executes when the user clicks Confirm. To specify the confirm behavior, use the confirm delegate.

See Also:
setConfirmDelegate



message

public String message()

Returns the message displayed by the confirm page.



replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)

This method is intentionally undocumented. You should never have to invoke or customize it.



setCancelDelegate

public void setCancelDelegate(NextPageDelegate cancelDelegate)

Sets the receiver's cancel delegate to cancelDelegate. When the user clicks No in the confirm page, Direct to Web invokes the nextPage method on the cancel delegate.



setConfirmDelegate

public void setConfirmDelegate(NextPageDelegate confirmDelegate)

Sets the receiver's cancel delegate to cancelDelegate. When the user clicks Yes in the confirm page, Direct to Web invokes the nextPage method on the confirm delegate.



setMessage

public void setMessage(String message)

Sets the message displayed by the confirm page.