Project Wonder 2.0

er.directtoweb
Class ERD2WEditableListPage

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WOComponent
          extended bycom.webobjects.directtoweb.D2WComponent
              extended bycom.webobjects.directtoweb.D2WPage
                  extended byer.directtoweb.ERD2WPage
                      extended byer.directtoweb.ERD2WListPage
                          extended byer.directtoweb.ERD2WEditableListPage
All Implemented Interfaces:
Cloneable, DTWGeneration, ERDBranchInterface, ERDListPageInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, ListPageInterface, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, SelectPageInterface, Serializable, WOActionResults
Direct Known Subclasses:
ERD2WEditableListTemplate

public class ERD2WEditableListPage
extends ERD2WListPage
implements ERXExceptionHolder

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class er.directtoweb.ERD2WPage
ERD2WPage.Keys
 
Nested classes inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
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
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
 String dummy
           
protected  String errorMessage
           
protected  NSMutableDictionary errorMessages
           
 
Fields inherited from class er.directtoweb.ERD2WListPage
_displayGroup, _hasToUpdate, _rowFlip, log, referenceEO
 
Fields inherited from class er.directtoweb.ERD2WPage
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _userInfo, errorKeyOrder, keyPathsWithValidationExceptions, validationLog
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
_eo, _localContext, currentObjectKey
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
_CLASS, NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERD2WEditableListPage(WOContext context)
           
 
Method Summary
 WOComponent backAction()
           
 WOComponent cancel()
           
 void clearValidationFailed()
          Clears all of the collected validation exceptions.
 int colspanForNavBar()
           
 NSMutableDictionary currentErrorDictionary()
           
protected  NSMutableDictionary errorMessagesDictionaries()
           
 boolean isEntityInspectable()
           
 WOComponent saveAction()
           
 String saveLabel()
           
 void setObject(EOEnterpriseObject eo)
          Implementation of the InspectPageInterface
 boolean showCancel()
           
 void takeValuesFromRequest(WORequest r, WOContext c)
          Overridden from the parent for better logging.
 WOComponent update()
           
 void validationFailedWithException(Throwable e, Object value, String keyPath)
          Handles validation errors.
 
Methods inherited from class er.directtoweb.ERD2WListPage
alternatingColorForRow, appendToResponse, backgroundColorForRow, colorForRow, defaultSortKey, deleteObjectAction, descriptionForResponse, displayGroup, editingContextDidSaveChanges, editObjectAction, finalize, formTargetJavaScriptUrl, inspectObjectAction, invokeAction, isEntityEditable, isEntityReadOnly, isListEmpty, isSelecting, isSelectingNotTopLevel, listSize, localInstanceOfObject, numberOfObjectsPerBatch, printerFriendlyVersion, printerFriendlyVersion, referenceEOs, selectedObject, selectObjectAction, setBackgroundColorForRow, setDataSource, setSelectedObject, setSortOrderingsOnDisplayGroup, setupPhase, shouldShowSelectAll, sortOrderings, targetString, urlForCurrentState, userPreferencesCanSpecifySorting, warmUpForDisplay
 
Methods inherited from class er.directtoweb.ERD2WPage
allConfigurationNames, awake, branch, branchChoices, branchName, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, editingContext, errorMessage, errorMessages, hasBranchChoices, hasValidationExceptionForPropertyKey, isEmbedded, isObjectDeleteable, isObjectEditable, isObjectInspectable, nextPage, nextPageDelegate, now, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, shouldCollectValidationExceptions, shouldPropagateExceptions, shouldSetFailedValidationValue, sleep, tabSectionsContents, tabSectionsContentsFromRuleResult, userInfo
 
Methods inherited from class com.webobjects.directtoweb.D2WPage
alternateRowColor, dataSource, extraBindings, pageWrapperName, replacementAssociationForAssociation, setExtraBindings
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.webobjects.directtoweb.ListPageInterface
setNextPage, setNextPageDelegate
 
Methods inherited from interface com.webobjects.directtoweb.SelectPageInterface
nextPageDelegate, setNextPageDelegate
 

Field Detail

errorMessages

protected NSMutableDictionary errorMessages

errorMessage

protected String errorMessage

dummy

public String dummy
Constructor Detail

ERD2WEditableListPage

public ERD2WEditableListPage(WOContext context)
Method Detail

colspanForNavBar

public int colspanForNavBar()

errorMessagesDictionaries

protected NSMutableDictionary errorMessagesDictionaries()

currentErrorDictionary

public NSMutableDictionary currentErrorDictionary()

showCancel

public boolean showCancel()
Overrides:
showCancel in class ERD2WListPage

isEntityInspectable

public boolean isEntityInspectable()
Overrides:
isEntityInspectable in class ERD2WListPage

setObject

public void setObject(EOEnterpriseObject eo)
Description copied from class: ERD2WPage
Implementation of the InspectPageInterface

Overrides:
setObject in class ERD2WPage

backAction

public WOComponent backAction()
Overrides:
backAction in class ERD2WListPage

saveAction

public WOComponent saveAction()

cancel

public WOComponent cancel()

validationFailedWithException

public void validationFailedWithException(Throwable e,
                                          Object value,
                                          String keyPath)
Description copied from class: ERD2WPage
Handles validation errors.

Overrides:
validationFailedWithException in class ERD2WPage

clearValidationFailed

public void clearValidationFailed()
Description copied from interface: ERXExceptionHolder
Clears all of the collected validation exceptions.

Specified by:
clearValidationFailed in interface ERXExceptionHolder
Overrides:
clearValidationFailed in class ERD2WPage

update

public WOComponent update()

takeValuesFromRequest

public void takeValuesFromRequest(WORequest r,
                                  WOContext c)
Description copied from class: ERD2WPage
Overridden from the parent for better logging. Also clears validation errors

Overrides:
takeValuesFromRequest in class ERD2WListPage

saveLabel

public String saveLabel()

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.