public class ERD2WTabInspectPage extends ERD2WInspectPage implements ERDTabEditPageInterface
Name | Description |
---|---|
firstResponder | firstResponder |
tabComponentName | tabComponentName |
ERD2WPage.Keys, ERD2WPage.ValidationDelegate
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
protected Integer |
_tabNumber |
static Logger |
log
logging support
|
static Logger |
validationLog |
static String |
WILL_SWITCH_TAB |
_objectWasSaved, firstResponderContainerName, validationCat
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, validationDelegate, validationDelegateInited
_eo, _localContext, currentObjectKey
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
ERD2WTabInspectPage(com.webobjects.appserver.WOContext c) |
Modifier and Type | Method and Description |
---|---|
boolean |
currentTabIsFirstTab() |
boolean |
currentTabIsLastTab() |
boolean |
disableCancel() |
boolean |
disableNext() |
boolean |
disablePrevious() |
boolean |
disableSave() |
com.webobjects.appserver.WOComponent |
nextTabAction() |
com.webobjects.appserver.WOComponent |
previousTabAction() |
com.webobjects.appserver.WOComponent |
printerFriendlyVersion() |
void |
setTabByName(String tabName) |
void |
setTabNumber(Integer newTabNumber) |
boolean |
shouldNotSwitchIfHasChanges() |
boolean |
shouldSaveChangesForTab() |
boolean |
shouldShowNextButton() |
boolean |
shouldShowNextPreviousButtons() |
boolean |
shouldShowPreviousButton() |
boolean |
switchTabAction() |
String |
switchTabActionName() |
String |
tabComponentName() |
Integer |
tabNumber() |
String |
tabScriptString()
Constructs a JavaScript string that will give a particular field focus when the page is loaded.
|
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Overridden from the parent for better logging.
|
String |
urlForCurrentState()
Implementation of the
ERXComponentActionRedirector.Restorable
interface. |
boolean |
useSubmitImages() |
boolean |
useTabImages() |
boolean |
useTabSectionImages() |
cancelAction, deleteAction, doesNotHaveForm, editAction, hasPropertyName, nextPage, nextPage, objectWasSaved, otherTagStringsForPropertyKeyComponentCell, performAdditionalValidations, previousPage, saveButtonFileName, scriptForFirstResponderActivation, setObject, setPreviousPage, shouldCollectValidationExceptions, shouldRecoverFromOptimisticLockingFailure, shouldRenderBorder, shouldRevertChanges, shouldRevertUponSaveFailure, shouldSaveChanges, shouldShowActionButtons, shouldShowCancelButton, shouldShowSubmitButton, shouldValidateBeforeSave, showCancel, submitAction, tryToSaveChanges
aggregateEventDurationForCurrentPropertyKey, allConfigurationNames, appendToResponse, awake, branch, branchChoices, branchName, clearTabSectionsContents, clearValidationFailed, clickToOpenEnabled, cssClassForPageContainerElement, cssClassForPropertyKey, cssClassForPropertyName, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, d2wDebuggingEnabled, descriptionForResponse, displayVariant, editingContext, errorKeyOrder, errorMessage, errorMessageForPropertyKey, errorMessages, hasActualChanges, hasBranchChoices, hasErrors, hasValidationExceptionForPropertyKey, inlineStyleDeclarationForPropertyKey, inlineStyleDeclarationForPropertyName, invokeAction, isEmbedded, isEntityEditable, isEntityReadOnly, isKeyOmitted, isObjectDeleteable, isObjectEditable, isObjectInspectable, isTopLevelPage, latestEntryForCurrentPropertyKey, makeStatsKey, nextPageDelegate, nextPageFromDelegate, now, object, pageController, pageWithName, pageWrapperName, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setPageController, settings, setValidationDelegate, shouldDisplayDetailedPageMetrics, shouldDisplayPageMetricsSummary, shouldPropagateExceptions, shouldSetFailedValidationValue, sleep, statsForPage, statsKeyForCurrentPropertyKey, statsKeyPrefix, tabSectionsContents, tabSectionsContentsFromRuleResult, userInfo, userPreferencesValueForKey, userPreferencesValueForPageConfigurationKey, validationDelegate, validationFailedWithException
alternateRowColor, dataSource, extraBindings, replacementAssociationForAssociation, setExtraBindings
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, 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
__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, variableWithName
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
object
public static final String WILL_SWITCH_TAB
public static final Logger log
public static final Logger validationLog
protected Integer _tabNumber
public ERD2WTabInspectPage(com.webobjects.appserver.WOContext c)
public String switchTabActionName()
public boolean switchTabAction()
public void takeValuesFromRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
ERD2WPage
takeValuesFromRequest
in class ERD2WInspectPage
public Integer tabNumber()
tabNumber
in interface ERDTabEditPageInterface
public void setTabNumber(Integer newTabNumber)
setTabNumber
in interface ERDTabEditPageInterface
public com.webobjects.appserver.WOComponent printerFriendlyVersion()
printerFriendlyVersion
in class ERD2WInspectPage
public void setTabByName(String tabName)
public String urlForCurrentState()
ERD2WPage
ERXComponentActionRedirector.Restorable
interface. This implementation creates an URL with the name of the
current pageConfiguration as a direct action, which assumes a
ERD2WDirectAction
as the default direct action. Subclasses need
to implement more sensible behaviour.urlForCurrentState
in interface ERXComponentActionRedirector.Restorable
urlForCurrentState
in class ERD2WInspectPage
public String tabScriptString()
Constructs a JavaScript string that will give a particular field focus when the page is loaded. If the key
firstResponderKey
from the d2wContext resolves, the script will attempt to focus on the form field
belonging to the property key named by the firstResponderKey
. Otherwise, the script will just focus
on the first field in the form.
Note that the key useFocus
must resolve to true
in order for the script to be
generated.
tabScriptString
in class ERD2WInspectPage
public boolean shouldNotSwitchIfHasChanges()
public boolean shouldSaveChangesForTab()
public boolean shouldShowNextPreviousButtons()
public boolean shouldShowPreviousButton()
public boolean shouldShowNextButton()
public boolean useSubmitImages()
public boolean useTabImages()
public boolean useTabSectionImages()
public com.webobjects.appserver.WOComponent nextTabAction()
public com.webobjects.appserver.WOComponent previousTabAction()
public boolean currentTabIsFirstTab()
public boolean currentTabIsLastTab()
public String tabComponentName()
public boolean disablePrevious()
public boolean disableNext()
public boolean disableCancel()
public boolean disableSave()
Copyright © 2002 – 2020 Project Wonder.