|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent com.webobjects.directtoweb.D2WComponent com.webobjects.directtoweb.D2WPage com.webobjects.directtoweb.D2WConfirmPage
public class D2WConfirmPage
The D2WConfirmPage
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
---|
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
---|
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
D2WConfirmPage(WOContext aContext)
Constructs a D2WConfirmPage with the specified context. |
Method Summary | |
---|---|
WOComponent |
cancelAction()
Is invoked when the user clicks Cancel. |
WOComponent |
confirmAction()
Executes when the user clicks Confirm. |
String |
message()
Returns the message displayed by the confirm page. |
WOAssociation |
replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
DTWTemplate aTemplate,
WOContext aContext)
This method is intentionally undocumented. |
void |
setCancelDelegate(NextPageDelegate nextPage)
Sets the cancel delegate of the receiver. |
void |
setConfirmDelegate(NextPageDelegate nextPage)
Sets the confirm delegate of the receiver. |
void |
setMessage(String aMessage)
Sets the message displayed by the confirm page. |
Methods inherited from class com.webobjects.directtoweb.D2WPage |
---|
alternateRowColor, dataSource, descriptionForResponse, extraBindings, finalize, nextPage, nextPageDelegate, pageWrapperName, setDataSource, setExtraBindings, setNextPage, setNextPageDelegate, showCancel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public D2WConfirmPage(WOContext aContext)
aContext
- - the WOContext.Method Detail |
---|
public void setConfirmDelegate(NextPageDelegate nextPage)
nextPage
method on the confirm delegate.
setConfirmDelegate
in interface ConfirmPageInterface
nextPage
- - the next page delegate.public void setCancelDelegate(NextPageDelegate nextPage)
nextPage
method on the cancel delegate.
setCancelDelegate
in interface ConfirmPageInterface
nextPage
- - the next page delegate.public String message()
public void setMessage(String aMessage)
setMessage
in interface ConfirmPageInterface
aMessage
- - the message displayed by the confirm page.public WOComponent confirmAction() throws Throwable
Throwable
D2WConfirmPage.setConfirmDelegate(com.webobjects.directtoweb.NextPageDelegate)
public WOComponent cancelAction() throws Throwable
Throwable
D2WConfirmPage.setCancelDelegate(com.webobjects.directtoweb.NextPageDelegate)
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)
D2WPage
replacementAssociationForAssociation
in interface DTWGeneration
replacementAssociationForAssociation
in class D2WPage
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |