er.directtoweb
Class ERD2WInspectPage
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.directtoweb.D2WComponent
com.webobjects.directtoweb.D2WPage
er.directtoweb.ERD2WPage
er.directtoweb.ERD2WInspectPage
- All Implemented Interfaces:
- Cloneable, DTWGeneration, EditPageInterface, ERDBranchInterface, ERDEditPageInterface, ERDFollowPageInterface, ERDObjectSaverInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, InspectPageInterface, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
- Direct Known Subclasses:
- ERD2WCompactInspectPageTemplate, ERD2WInspectPageTemplate, ERD2WPickTypePage, ERD2WPrinterFriendlyInspectPageTemplate, ERD2WTabInspectPage
- public class ERD2WInspectPage
- extends ERD2WPage
- implements InspectPageInterface, ERDEditPageInterface, ERDObjectSaverInterface, ERDFollowPageInterface, ERXComponentActionRedirector.Restorable
Superclass for all inspecting/editing ERD2W templates.
- See Also:
- Serialized Form
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Fields inherited from class er.directtoweb.ERD2WPage |
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, validationLog |
Methods inherited from class er.directtoweb.ERD2WPage |
allConfigurationNames, appendToResponse, awake, branch, branchChoices, branchName, clearValidationFailed, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, descriptionForResponse, editingContext, errorMessage, errorMessages, hasBranchChoices, hasValidationExceptionForPropertyKey, invokeAction, isEmbedded, isObjectDeleteable, isObjectEditable, isObjectInspectable, nextPageDelegate, now, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, shouldPropagateExceptions, shouldSetFailedValidationValue, sleep, tabSectionsContents, tabSectionsContentsFromRuleResult, userInfo, validationFailedWithException |
Methods inherited from class com.webobjects.directtoweb.D2WComponent |
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, localContext, logout, object, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames |
Methods inherited from class com.webobjects.appserver.WOComponent |
_associationWithName, _awakeInContext, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForKey, valueForKeyPath |
log
public static final ERXLogger log
- logging support
validationCat
public static final ERXLogger validationCat
ERD2WInspectPage
public ERD2WInspectPage(WOContext context)
- Public constructor
- Parameters:
context
- current context
urlForCurrentState
public String urlForCurrentState()
- Description copied from interface:
ERXComponentActionRedirector.Restorable
- url for the current state. This method will be called directly after invokeAction(), so any temporary variables should have the same setting as they had when the action was invoked.
- Specified by:
urlForCurrentState
in interface ERXComponentActionRedirector.Restorable
- Overrides:
urlForCurrentState
in class ERD2WPage
- Returns:
- url for the current page
objectWasSaved
public boolean objectWasSaved()
- Specified by:
objectWasSaved
in interface ERDObjectSaverInterface
previousPage
public WOComponent previousPage()
- Specified by:
previousPage
in interface ERDFollowPageInterface
setPreviousPage
public void setPreviousPage(WOComponent existingPageName)
- Specified by:
setPreviousPage
in interface ERDFollowPageInterface
nextPage
public WOComponent nextPage()
- Overrides:
nextPage
in class ERD2WPage
nextPage
public WOComponent nextPage(boolean doConfirm)
isEntityReadOnly
public boolean isEntityReadOnly()
editAction
public WOComponent editAction()
deleteAction
public WOComponent deleteAction()
throws Throwable
- Throws:
Throwable
cancelAction
public WOComponent cancelAction()
shouldRenderBorder
public boolean shouldRenderBorder()
shouldShowActionButtons
public boolean shouldShowActionButtons()
shouldShowCancelButton
public boolean shouldShowCancelButton()
shouldShowSubmitButton
public boolean shouldShowSubmitButton()
showCancel
public boolean showCancel()
- Overrides:
showCancel
in class ERD2WPage
doesNotHaveForm
public boolean doesNotHaveForm()
setObject
public void setObject(EOEnterpriseObject eoenterpriseobject)
- Description copied from class:
ERD2WPage
- Implementation of the
InspectPageInterface
- Specified by:
setObject
in interface InspectPageInterface
- Overrides:
setObject
in class ERD2WPage
performAdditionalValidations
public void performAdditionalValidations()
takeValuesFromRequest
public void takeValuesFromRequest(WORequest request,
WOContext context)
- Description copied from class:
ERD2WPage
- Overridden from the parent for better logging. Also clears validation errors
- Overrides:
takeValuesFromRequest
in class ERD2WPage
hasPropertyName
public boolean hasPropertyName()
shouldRevertChanges
public boolean shouldRevertChanges()
shouldSaveChanges
public boolean shouldSaveChanges()
shouldValidateBeforeSave
public boolean shouldValidateBeforeSave()
shouldCollectValidationExceptions
public boolean shouldCollectValidationExceptions()
- Description copied from class:
ERD2WPage
- Should exceptions also be handled here or only handled by the parent.
- Overrides:
shouldCollectValidationExceptions
in class ERD2WPage
shouldRecoverFromOptimisticLockingFailure
public boolean shouldRecoverFromOptimisticLockingFailure()
tryToSaveChanges
public boolean tryToSaveChanges(boolean validateObject)
submitAction
public WOComponent submitAction()
throws Throwable
- Throws:
Throwable
saveButtonFileName
public String saveButtonFileName()
printerFriendlyVersion
public WOComponent printerFriendlyVersion()
tabScriptString
public String tabScriptString()
Copyright © 2002 – 2004 Project Wonder.