Project Wonder 5.0.0.8654

er.directtoweb.pages
Class ERD2WTabInspectPage

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.directtoweb.D2WComponent
              extended by com.webobjects.directtoweb.D2WPage
                  extended by er.directtoweb.pages.ERD2WPage
                      extended by er.directtoweb.pages.ERD2WInspectPage
                          extended by er.directtoweb.pages.ERD2WTabInspectPage
All Implemented Interfaces:
WOActionResults, EditPageInterface, com.webobjects.directtoweb.generation.DTWGeneration, InspectPageInterface, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, ERDBranchInterface, ERDEditPageInterface, ERDFollowPageInterface, ERDObjectSaverInterface, ERDTabEditPageInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, Serializable, Cloneable
Direct Known Subclasses:
ERD2WTabInspectPageTemplate, ERD2WWizardCreationPage, ERNEUTabInspectPage

public class ERD2WTabInspectPage
extends ERD2WInspectPage
implements ERDTabEditPageInterface

Superclass for all tab and wizard pages.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class er.directtoweb.pages.ERD2WPage
ERD2WPage.Keys
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected  Integer _tabNumber
           
static Logger log
          logging support
static Logger validationLog
           
static String WILL_SWITCH_TAB
           
 
Fields inherited from class er.directtoweb.pages.ERD2WInspectPage
firstResponderContainerName, validationCat
 
Fields inherited from class er.directtoweb.pages.ERD2WPage
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
_eo, _localContext, currentObjectKey
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations, MINUSONE
 
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
ERD2WTabInspectPage(WOContext c)
           
 
Method Summary
 void appendToResponse(WOResponse response, WOContext context)
          Overridden from the parent for better logging.
 boolean currentTabIsFirstTab()
           
 boolean currentTabIsLastTab()
           
 boolean disableCancel()
           
 boolean disableNext()
           
 boolean disablePrevious()
           
 boolean disableSave()
           
 WOComponent nextTab()
          Deprecated. use nextTabAction
 WOComponent nextTabAction()
           
 WOComponent previousTab()
          Deprecated. use previousTabAction
 WOComponent previousTabAction()
           
 WOComponent printerFriendlyVersion()
           
 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.
 boolean useSubmitImages()
           
 boolean useTabImages()
           
 boolean useTabSectionImages()
           
 
Methods inherited from class er.directtoweb.pages.ERD2WInspectPage
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, takeValuesFromRequest, tryToSaveChanges, urlForCurrentState
 
Methods inherited from class er.directtoweb.pages.ERD2WPage
allConfigurationNames, awake, branch, branchChoices, branchName, clearValidationFailed, clickToOpenEnabled, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, d2wDebuggingEnabled, descriptionForResponse, editingContext, errorKeyOrder, errorMessage, errorMessages, hasActualChanges, hasBranchChoices, hasValidationExceptionForPropertyKey, invokeAction, isEmbedded, isEntityEditable, isEntityReadOnly, isObjectDeleteable, isObjectEditable, isObjectInspectable, nextPageDelegate, nextPageFromDelegate, now, object, pageController, pageWithName, pageWrapperName, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setPageController, settings, shouldPropagateExceptions, shouldSetFailedValidationValue, sleep, tabSectionsContents, tabSectionsContentsFromRuleResult, userInfo, userPreferencesValueForKey, userPreferencesValueForPageConfigurationKey, validationFailedWithException
 
Methods inherited from class com.webobjects.directtoweb.D2WPage
alternateRowColor, dataSource, extraBindings, finalize, 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, 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
__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, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface er.directtoweb.interfaces.ERDEditPageInterface
object
 
Methods inherited from interface com.webobjects.directtoweb.InspectPageInterface
setNextPage, setNextPageDelegate, setObject
 

Field Detail

WILL_SWITCH_TAB

public static final String WILL_SWITCH_TAB
See Also:
Constant Field Values

log

public static final Logger log
logging support


validationLog

public static final Logger validationLog

_tabNumber

protected Integer _tabNumber
Constructor Detail

ERD2WTabInspectPage

public ERD2WTabInspectPage(WOContext c)
Method Detail

switchTabActionName

public String switchTabActionName()

switchTabAction

public boolean switchTabAction()

appendToResponse

public void appendToResponse(WOResponse response,
                             WOContext context)
Description copied from class: ERD2WPage
Overridden from the parent for better logging. Reports exceptions in the console for easier debugging.

Overrides:
appendToResponse in class ERD2WPage

tabNumber

public Integer tabNumber()
Specified by:
tabNumber in interface ERDTabEditPageInterface

setTabNumber

public void setTabNumber(Integer newTabNumber)
Specified by:
setTabNumber in interface ERDTabEditPageInterface

printerFriendlyVersion

public WOComponent printerFriendlyVersion()
Overrides:
printerFriendlyVersion in class ERD2WInspectPage

tabScriptString

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.

Overrides:
tabScriptString in class ERD2WInspectPage
Returns:
a JavaScript string.

shouldNotSwitchIfHasChanges

public boolean shouldNotSwitchIfHasChanges()

shouldSaveChangesForTab

public boolean shouldSaveChangesForTab()

shouldShowNextPreviousButtons

public boolean shouldShowNextPreviousButtons()

shouldShowPreviousButton

public boolean shouldShowPreviousButton()

shouldShowNextButton

public boolean shouldShowNextButton()

useSubmitImages

public boolean useSubmitImages()

useTabImages

public boolean useTabImages()

useTabSectionImages

public boolean useTabSectionImages()

nextTab

public WOComponent nextTab()
Deprecated. use nextTabAction


previousTab

public WOComponent previousTab()
Deprecated. use previousTabAction


nextTabAction

public WOComponent nextTabAction()

previousTabAction

public WOComponent previousTabAction()

currentTabIsFirstTab

public boolean currentTabIsFirstTab()

currentTabIsLastTab

public boolean currentTabIsLastTab()

tabComponentName

public String tabComponentName()

disablePrevious

public boolean disablePrevious()

disableNext

public boolean disableNext()

disableCancel

public boolean disableCancel()

disableSave

public boolean disableSave()

Last updated: Thu, Nov 20, 2008 • 04:36 AM EST

Copyright © 2002 – 2007 Project Wonder.