|
WebObjects 5.2.3 | ||||||||||
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.D2WMasterDetailPage
The D2WMasterDetailPage
class provides the behavior for the
master-detail page Direct to Web templates, specifically BASMasterDetailPage,
NEUMasterDetailPage, and WOLMasterDetailPage.
The classes for these pages inherit directly from D2WMasterDetailPage and
define no additional methods or variables.
Most methods are accessed, via the EOKeyValueCoding interface defined in the EOControl framework, from the bindings (.wod) file of the Direct to Web template. If you create a Direct to Web template from a master-detail page, you can invoke the methods in this class in the same way.
Nested Class Summary |
Nested classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary | |
EOEnterpriseObject |
selectedObject
|
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
KeyPathSeparator |
Constructor Summary | |
D2WMasterDetailPage(WOContext aContext)
Constructs a D2WMasterDetailPage with the specified context. |
Method Summary | |
WOComponent |
backAction()
Deprecated. |
boolean |
isObjectSelected()
Returns whether the user has selected an object in the select component of the master-detail page. |
WOComponent |
listReturnAction()
Is invoked when the user clicks Return in the master-detail page. |
NextPageDelegate |
masterDetailPageDelegate()
Returns the next page delegate for the edit component on the master-detail page. |
WOAssociation |
replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
WOContext aContext)
This method is intentionally undocumented. |
NextPageDelegate |
selectPageDelegate()
Returns the next page delegate, an object implementing the NextPageDelegate interface, for the select component on the master-detail page. |
void |
setEditPageDelegate(Object newValue)
This method is intentionally undocumented. |
void |
setSelectPageDelegate(Object newValue)
This method is intentionally undocumented. |
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 |
Methods inherited from interface com.webobjects.directtoweb.ListPageInterface |
setDataSource, setNextPage, setNextPageDelegate |
Field Detail |
public EOEnterpriseObject selectedObject
Constructor Detail |
public D2WMasterDetailPage(WOContext aContext)
aContext
- - the WOContext.Method Detail |
public WOComponent backAction()
listReturnAction
instead.
listReturnAction()
public boolean isObjectSelected()
public WOComponent listReturnAction()
nextPage
to specify the component this action displays.
You can also specify custom behavior for this action by overriding
nextPageDelegate
; in this case, nextPage
is ignored.
D2WPage.nextPage()
,
D2WPage.nextPageDelegate()
public NextPageDelegate masterDetailPageDelegate()
nextPage
method on this object
when the user clicks Cancel in the edit component.
NextPageDelegate
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, com.webobjects.directtoweb.generation.DTWTemplate aTemplate, WOContext aContext)
D2WPage
replacementAssociationForAssociation
in interface com.webobjects.directtoweb.generation.DTWGeneration
replacementAssociationForAssociation
in class D2WPage
public NextPageDelegate selectPageDelegate()
nextPage
method on this object
when the user selects the record to edit.
public void setEditPageDelegate(Object newValue)
public void setSelectPageDelegate(Object newValue)
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |