Project Wonder 2.0

er.directtoweb
Class ERD2WTabInspectPage

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.ERD2WInspectPage
                          extended byer.directtoweb.ERD2WTabInspectPage
All Implemented Interfaces:
Cloneable, DTWGeneration, EditPageInterface, ERDBranchInterface, ERDEditPageInterface, ERDFollowPageInterface, ERDObjectSaverInterface, ERDTabEditPageInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, InspectPageInterface, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
Direct Known Subclasses:
ERD2WTabInspectPageTemplate, ERD2WWizardCreationPage

public class ERD2WTabInspectPage
extends ERD2WInspectPage
implements ERDTabEditPageInterface

Superclass for all tab and wizard pages.

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
protected  Integer _tabNumber
           
static ERXLogger log
          logging support
static ERXLogger validationLog
           
static String WILL_SWITCH_TAB
           
 
Fields inherited from class er.directtoweb.ERD2WInspectPage
validationCat
 
Fields inherited from class er.directtoweb.ERD2WPage
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _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
 
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
ERD2WTabInspectPage(WOContext c)
           
 
Method Summary
 void appendToResponse(WOResponse response, WOContext context)
          Overridden from the parent for better logging.
 boolean currentTabIsFirstTab()
           
 boolean currentTabIsLastTab()
           
 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()
           
 boolean useSubmitImages()
           
 boolean useTabImages()
           
 boolean useTabSectionImages()
           
 
Methods inherited from class er.directtoweb.ERD2WInspectPage
cancelAction, deleteAction, doesNotHaveForm, editAction, hasPropertyName, isEntityReadOnly, nextPage, nextPage, objectWasSaved, performAdditionalValidations, previousPage, saveButtonFileName, setObject, setPreviousPage, shouldCollectValidationExceptions, shouldRecoverFromOptimisticLockingFailure, shouldRenderBorder, shouldRevertChanges, shouldSaveChanges, shouldShowActionButtons, shouldShowCancelButton, shouldShowSubmitButton, shouldValidateBeforeSave, showCancel, submitAction, takeValuesFromRequest, tryToSaveChanges, urlForCurrentState
 
Methods inherited from class er.directtoweb.ERD2WPage
allConfigurationNames, 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.D2WPage
alternateRowColor, dataSource, extraBindings, finalize, 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 er.directtoweb.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 ERXLogger log
logging support


validationLog

public static final ERXLogger 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()
Overrides:
tabScriptString in class ERD2WInspectPage

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()

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

Copyright © 2002 – 2004 Project Wonder.