| 
WebObjects 5.2.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.D2WInspectPage
The D2WInspectPage class provides behavior for the inspect page
 and edit page Direct to Web templates, specifically BASInspectPage,
 NEUInspectPage, and WOLInspectPage.
 The classes for these pages inherit directly from D2WInspectPage and define
 no additional methods or variables.
 Most methods are accessed, via the EOKeyValueCoding interface defined in the
 EOControl framework, from the Direct to Web template bindings (.wod) file.
 If you create a Direct to Web template from an error 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 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 | |
 String | 
errorMessage
Contains an error message displayed on the inspect page.  | 
| 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 | |
D2WInspectPage(WOContext aContext)
Constructs a D2WInspectPage with the specified context.  | 
|
| Method Summary | |
 void | 
awake()
This method is intentionally undocumented.  | 
 WOComponent | 
cancelAction()
Is invoked when the user clicks Cancel.  | 
 WOComponent | 
deleteAction()
Is invoked when the user clicks Delete.  | 
 WOComponent | 
editAction()
This action method executes when the user clicks Edit in an inspect page.  | 
 String | 
implementedInterface()
This method is intentionally undocumented.  | 
 WOComponent | 
nextPage()
Is invoked when the user clicks Return in an inspect page.  | 
 EOEnterpriseObject | 
object()
Returns the Object displayed by the inspect or edit page.  | 
 WOAssociation | 
replacementAssociationForAssociation(WOAssociation oldAssociation,
                                     String oldBinding,
                                     com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
                                     WOContext aContext)
This method is intentionally undocumented.  | 
 void | 
setEditingContext(EOEditingContext newEditingContext)
This method is intentionally undocumented.  | 
 void | 
setObject(EOEnterpriseObject eo)
Sets the object displayed by the inspect or edit page.  | 
 void | 
sleep()
This method is intentionally undocumented.  | 
 WOComponent | 
submitAction()
This action method executes when the user clicks Save on the edit page.  | 
 void | 
validationFailedWithException(Throwable theException,
                              Object theValue,
                              String theKeyPath)
This method is intentionally undocumented.  | 
| Methods inherited from class com.webobjects.directtoweb.D2WPage | 
alternateRowColor, dataSource, descriptionForResponse, extraBindings, finalize, 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.InspectPageInterface | 
setNextPage, setNextPageDelegate | 
| Field Detail | 
public String errorMessage
| Constructor Detail | 
public D2WInspectPage(WOContext aContext)
aContext - - the WOContext.| Method Detail | 
public void awake()
awake in class WOComponentWOComponent.ensureAwakeInContext(WOContext aContext), 
WOComponent.sleep()public WOComponent cancelAction()
D2WPage.nextPage(), 
D2WPage.nextPageDelegate()
public WOComponent deleteAction()
                         throws Throwable
ThrowableD2WPage.nextPage(), 
D2WPage.nextPageDelegate()public WOComponent editAction()
public String implementedInterface()
public WOComponent nextPage()
nextPage in class D2WPageD2WPage.nextPageDelegate()public EOEnterpriseObject object()
object in class D2WComponent
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
                                                          String oldBinding,
                                                          com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
                                                          WOContext aContext)
replacementAssociationForAssociation in interface com.webobjects.directtoweb.generation.DTWGenerationreplacementAssociationForAssociation in class D2WPagepublic void setEditingContext(EOEditingContext newEditingContext)
public void setObject(EOEnterpriseObject eo)
setObject in interface InspectPageInterfacesetObject in class D2WComponenteo - - the EOEnterpriseObject to display or edit.public void sleep()
sleep in class WOComponentWOComponent.awake()
public WOComponent submitAction()
                         throws Throwable
Throwable
public void validationFailedWithException(Throwable theException,
                                          Object theValue,
                                          String theKeyPath)
validationFailedWithException in class WOComponenttheException - the exception thrown during validationtheValue - the given value to be validatedtheKeyPath - the key path associated with this value, identifies the property of an object
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||