public class ERD2WEditableListPage extends ERD2WListPage implements ERXExceptionHolder, ERDObjectSaverInterface
ERDMassModifyButton class that may be more appropriate depending on your needs)
 To enable the mass change feature on an editable list page, do the following:
 1/ Add a "showMassChange" rule that returns "true" for your edit list page
 2/ If you want to restrict the keys that can be "mass edited", add a displayPropertyKeys rule with a restricted set of keys with the qualifer "(massChangeEntityDisplay = 1)"
 Known Issues:
      changing the number of items per batch causes problems (the display group's batch is updated too soon in the request/response loop)| Name | Description | 
|---|---|
| showBanner | showBanner | 
| object | object | 
| isEntityInspectable | isEntityInspectable | 
| shouldValidateBeforeSave | shouldValidateBeforeSave | 
| shouldSaveChanges | shouldSaveChanges | 
| shouldRecoverFromOptimisticLockingFailure | shouldRecoverFromOptimisticLockingFailure | 
| saveLabelTemplateKey | saveLabelTemplateKey | 
| displayNameForEntity | displayNameForEntity | 
| showMassChange | showMassChange | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ERD2WEditableListPage.ERDMassChangeGenericRecord | 
ERD2WPage.Keys, ERD2WPage.ValidationDelegateWOComponent._EventLoggingEnabler, WOComponent.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException| Modifier and Type | Field and Description | 
|---|---|
| protected WODisplayGroup | _massChangeDisplayGroup | 
| protected ERD2WEditableListPage.ERDMassChangeGenericRecord | _massChangeEO | 
| String | dummy | 
| static org.apache.log4j.Logger | log | 
| static String | MassChangeEntityDisplayKey | 
_displayGroup, _hasToUpdate, _rowFlip, _sessionID, _shouldRefetch, dataSourceState, referenceEO_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, validationDelegate, validationDelegateInited, validationLog_eo, _localContext, currentObjectKey_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description | 
|---|
| ERD2WEditableListPage(WOContext context) | 
_fetchDisplayGroup, alternatingColorForRow, alwaysRefetchList, appendToResponse, backgroundColorForRow, checkSortOrderingKeys, colorForRow, createDisplayGroup, defaultSortKey, deleteObjectAction, descriptionForResponse, didUpdate, displayGroup, editingContextDidSaveChanges, editObjectAction, fetchIfNecessary, formTargetJavaScriptUrl, inspectObjectAction, invokeAction, isEntityEditable, isEntityPrintable, isEntityReadOnly, isListEmpty, isSelecting, isSelectingNotTopLevel, isValidSortKey, listSize, localInstanceOfObject, printerFriendlyVersion, printerFriendlyVersion, referenceEOs, selectedObject, selectedObjects, selectObjectAction, sessionID, setBackgroundColorForRow, setDataSource, setSelectedObject, setSelectedObjects, setSortOrderingsOnDisplayGroup, setupPhase, shouldShowBatchNavigation, shouldShowSelectAll, sortOrderings, targetString, urlForCurrentState, useBatchingDisplayGroup, userPreferencesCanSpecifySorting, warmUpForDisplay, willUpdateaggregateEventDurationForCurrentPropertyKey, allConfigurationNames, awake, branch, branchChoices, branchName, clearTabSectionsContents, clickToOpenEnabled, cssClassForPageContainerElement, cssClassForPropertyKey, cssClassForPropertyName, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, d2wDebuggingEnabled, displayVariant, editingContext, errorKeyOrder, errorMessage, errorMessageForPropertyKey, errorMessages, hasActualChanges, hasBranchChoices, hasErrors, hasValidationExceptionForPropertyKey, inlineStyleDeclarationForPropertyKey, inlineStyleDeclarationForPropertyName, isEmbedded, isKeyOmitted, isObjectDeleteable, isObjectEditable, isObjectInspectable, isTopLevelPage, latestEntryForCurrentPropertyKey, makeStatsKey, nextPageDelegate, nextPageFromDelegate, now, object, pageController, pageWithName, pageWrapperName, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setPageController, settings, setValidationDelegate, shouldCollectValidationExceptions, shouldDisplayDetailedPageMetrics, shouldDisplayPageMetricsSummary, shouldPropagateExceptions, shouldSetFailedValidationValue, sleep, statsForPage, statsKeyForCurrentPropertyKey, statsKeyPrefix, tabSectionsContents, tabSectionsContentsFromRuleResult, userInfo, userPreferencesValueForKey, userPreferencesValueForPageConfigurationKey, validationDelegatealternateRowColor, dataSource, extraBindings, replacementAssociationForAssociation, setExtraBindingsallEntities, 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, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _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, setVariableValueForName, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNameequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.apache.log4j.Logger log
public String dummy
public static final String MassChangeEntityDisplayKey
protected WODisplayGroup _massChangeDisplayGroup
protected ERD2WEditableListPage.ERDMassChangeGenericRecord _massChangeEO
public ERD2WEditableListPage(WOContext context)
public int colspanForNavBar()
public int numberOfObjectsPerBatch()
numberOfObjectsPerBatch in class ERD2WListPagepublic boolean objectWasSaved()
objectWasSaved in interface ERDObjectSaverInterfaceprotected NSMutableDictionary errorMessagesDictionaries()
public NSMutableDictionary errorDictionaryForObject(Object object)
public NSMutableDictionary currentErrorDictionary()
public boolean showCancel()
ERD2WListPageshowCancel in class ERD2WListPagepublic boolean isEntityInspectable()
isEntityInspectable in class ERD2WListPagepublic void setObject(EOEnterpriseObject eo)
ERD2WPageInspectPageInterfacepublic WOComponent backAction()
backAction in class ERD2WListPagepublic WOComponent nextPage()
public boolean shouldValidateBeforeSave()
public boolean shouldSaveChanges()
public boolean shouldRecoverFromOptimisticLockingFailure()
public boolean tryToSaveChanges(boolean validateObjects)
public WOComponent saveAction()
public WOComponent cancel()
public void validationFailedWithException(Throwable e, Object value, String keyPath)
ERD2WPagevalidationFailedWithException in class ERD2WPagepublic void clearValidationFailed()
ERD2WPageERXExceptionHolder interface.clearValidationFailed in interface ERXExceptionHolderclearValidationFailed in class ERD2WPagepublic WOComponent update()
public void takeValuesFromRequest(WORequest r, WOContext c)
ERD2WPagetakeValuesFromRequest in class ERD2WListPagepublic String saveLabel()
public boolean shouldShowMassChange()
public com.webobjects.directtoweb.D2WContext d2wContextForMassChangeEO()
public WODisplayGroup massChangeDisplayGroup()
public ERD2WEditableListPage.ERDMassChangeGenericRecord massChangeEO()
public WOComponent clearMassChangeEO()
public WOComponent propagateChangesToVisibleObjects()
public String propagateChangesDetails()
Copyright © 2002 – 2025 Project Wonder.