Project Wonder 5.0

er.modern.look.pages
Class ERMODWizardCreationPage

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
                              extended by er.directtoweb.pages.ERD2WWizardCreationPage
                                  extended by er.directtoweb.pages.templates.ERD2WWizardCreationPageTemplate
                                      extended by er.modern.look.pages.ERMODWizardCreationPage
All Implemented Interfaces:
com.webobjects.appserver.WOActionResults, com.webobjects.directtoweb.EditPageInterface, com.webobjects.directtoweb.generation.DTWGeneration, com.webobjects.directtoweb.InspectPageInterface, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, ERDBranchInterface, ERDEditPageInterface, ERDFollowPageInterface, ERDObjectSaverInterface, ERDTabEditPageInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, java.io.Serializable, java.lang.Cloneable

public class ERMODWizardCreationPage
extends ERD2WWizardCreationPageTemplate

A wizard inspect/edit template. Can be used in-line, and supports ajax updates

See Also:
Serialized Form
Author:
davidleber
D2W Keys
cancelButtonLabelcancelButtonLabel
           
bannerFileNamebannerFileName
           
showBannershowBanner
           
headerComponentNameheaderComponentName
           
formEncodingformEncoding
           
repetitionComponentNamerepetitionComponentName
           
previousButtonLabelpreviousButtonLabel
           
pageWrapperNamepageWrapperName
           
nextButtonLabelnextButtonLabel
           
saveButtonLabelsaveButtonLabel
           
useAjaxControlsWhenEmbeddeduseAjaxControlsWhenEmbedded
           

Nested Class Summary
static interface ERMODWizardCreationPage.Keys
           
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
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.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
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
 
Field Summary
 boolean showCancelDialog
           
 
Fields inherited from class er.directtoweb.pages.ERD2WWizardCreationPage
_currentStep, log, WILL_GOTO_NEXT_PAGE
 
Fields inherited from class er.directtoweb.pages.ERD2WTabInspectPage
_tabNumber, validationLog, WILL_SWITCH_TAB
 
Fields inherited from class er.directtoweb.pages.ERD2WInspectPage
_objectWasSaved, 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
 
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.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERMODWizardCreationPage(com.webobjects.appserver.WOContext wocontext)
           
 
Method Summary
 void awake()
          Overridden to lock the page's editingContext, if there is any present.
 com.webobjects.appserver.WOComponent cancelAction()
          Perform the cancel action.
 java.lang.String cancelUpdateContainerID()
          Returns the ajax update container id for the cancel button
 com.webobjects.directtoweb.D2WContext d2wContext()
          D2WContext for this page.
 com.webobjects.appserver.WOActionResults dismissCancelDialogAction()
          Action called when the cancel dialog is dismissed
 com.webobjects.appserver.WOComponent doCancelAction()
          Action called when the cancel button is clicked
 com.webobjects.appserver.WOComponent nextStep()
          Change to the next step.
 com.webobjects.appserver.WOComponent previousStep()
          Change to the previous step.
 void setObject(com.webobjects.eocontrol.EOEnterpriseObject eoenterpriseobject)
          Sets the page object.
 boolean showCancel()
          Show the cancel button.
 com.webobjects.appserver.WOComponent submitAction()
          Performs submit action.
 
Methods inherited from class er.directtoweb.pages.ERD2WWizardCreationPage
appendToResponse, currentStep, printerFriendlyVersion, showNext, showPrevious, superCancelAction
 
Methods inherited from class er.directtoweb.pages.ERD2WTabInspectPage
currentTabIsFirstTab, currentTabIsLastTab, disableCancel, disableNext, disablePrevious, disableSave, nextTab, nextTabAction, previousTab, previousTabAction, setTabByName, setTabNumber, shouldNotSwitchIfHasChanges, shouldSaveChangesForTab, shouldShowNextButton, shouldShowNextPreviousButtons, shouldShowPreviousButton, switchTabAction, switchTabActionName, tabComponentName, tabNumber, tabScriptString, urlForCurrentState, useSubmitImages, useTabImages, useTabSectionImages
 
Methods inherited from class er.directtoweb.pages.ERD2WInspectPage
deleteAction, doesNotHaveForm, editAction, hasPropertyName, nextPage, nextPage, objectWasSaved, otherTagStringsForPropertyKeyComponentCell, performAdditionalValidations, previousPage, saveButtonFileName, scriptForFirstResponderActivation, setPreviousPage, shouldCollectValidationExceptions, shouldRecoverFromOptimisticLockingFailure, shouldRenderBorder, shouldRevertChanges, shouldRevertUponSaveFailure, shouldSaveChanges, shouldShowActionButtons, shouldShowCancelButton, shouldShowSubmitButton, shouldValidateBeforeSave, takeValuesFromRequest, tryToSaveChanges
 
Methods inherited from class er.directtoweb.pages.ERD2WPage
aggregateEventDurationForCurrentPropertyKey, allConfigurationNames, branch, branchChoices, branchName, clearTabSectionsContents, clearValidationFailed, clickToOpenEnabled, cssClassForPageContainerElement, cssClassForPropertyKey, cssClassForPropertyName, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wCurrentComponentName, d2wDebuggingEnabled, descriptionForResponse, displayVariant, editingContext, errorKeyOrder, errorMessage, 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, shouldDisplayDetailedPageMetrics, shouldDisplayPageMetricsSummary, shouldPropagateExceptions, shouldSetFailedValidationValue, sleep, statsForPage, statsKeyForCurrentPropertyKey, statsKeyPrefix, 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
_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.interfaces.ERDEditPageInterface
object
 
Methods inherited from interface com.webobjects.directtoweb.InspectPageInterface
setNextPage, setNextPageDelegate
 

Field Detail

showCancelDialog

public boolean showCancelDialog
Constructor Detail

ERMODWizardCreationPage

public ERMODWizardCreationPage(com.webobjects.appserver.WOContext wocontext)
Method Detail

awake

public void awake()
Description copied from class: ERD2WPage
Overridden to lock the page's editingContext, if there is any present.

Overrides:
awake in class ERD2WTabInspectPage

previousStep

public com.webobjects.appserver.WOComponent previousStep()
Change to the previous step. Overridden to set _currentStep here instead of in appendToResponse so ajax requests work.

Overrides:
previousStep in class ERD2WWizardCreationPage

nextStep

public com.webobjects.appserver.WOComponent nextStep()
Change to the next step. Overridden to set _currentStep here instead of in appendToResponse so ajax requests work

Overrides:
nextStep in class ERD2WWizardCreationPage

cancelAction

public com.webobjects.appserver.WOComponent cancelAction()
Perform the cancel action. Overridden to handle showing a cancel dialog in-line if useAjaxControlsWhenEmbedded is true.

Overrides:
cancelAction in class ERD2WWizardCreationPage

doCancelAction

public com.webobjects.appserver.WOComponent doCancelAction()
Action called when the cancel button is clicked

Returns:

dismissCancelDialogAction

public com.webobjects.appserver.WOActionResults dismissCancelDialogAction()
Action called when the cancel dialog is dismissed

Returns:

showCancel

public boolean showCancel()
Show the cancel button. From parent: Should we show the cancel button? It's only visible when we have a nextPage set up. Overridden to allow us to show the cancel button if the page is embedded and shouldShowCancelButton is true.

Overrides:
showCancel in class ERD2WInspectPage

setObject

public void setObject(com.webobjects.eocontrol.EOEnterpriseObject eoenterpriseobject)
Sets the page object. Overridden to reset the current step if the object changes

Specified by:
setObject in interface com.webobjects.directtoweb.InspectPageInterface
Overrides:
setObject in class ERD2WInspectPage

cancelUpdateContainerID

public java.lang.String cancelUpdateContainerID()
Returns the ajax update container id for the cancel button

Returns:

submitAction

public com.webobjects.appserver.WOComponent submitAction()
                                                  throws java.lang.Throwable
Performs submit action. Overridden to reset the nested validation setting on the object.

Overrides:
submitAction in class ERD2WInspectPage
Throws:
java.lang.Throwable

d2wContext

public com.webobjects.directtoweb.D2WContext d2wContext()
Description copied from class: ERD2WPage
D2WContext for this page. Checks if there is a "d2wContext" binding, too.

Overrides:
d2wContext in class ERD2WPage
Returns:
d2wContext

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.