Project Wonder 5.0

er.directtoweb.pages
Class ERD2WMessagePage

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.ERD2WMessagePage
All Implemented Interfaces:
WOActionResults, com.webobjects.directtoweb.ConfirmPageInterface, com.webobjects.directtoweb.ErrorPageInterface, com.webobjects.directtoweb.generation.DTWGeneration, com.webobjects.directtoweb.InspectPageInterface, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, ERDBranchInterface, ERDErrorPageInterface, ERDMessagePageInterface, ERDUserInfoInterface, ERXComponentActionRedirector.Restorable, ERXExceptionHolder, Serializable, Cloneable
Direct Known Subclasses:
ERD2WConfirmPage, ERD2WConfirmPageTemplate, ERD2WMessagePageTemplate, ERD2WProgressPage, ERDQuestionPage, ERDRecoverableErrorPage, ERNEUErrorPage, ERNEUMessagePage

public abstract class ERD2WMessagePage
extends ERD2WPage
implements ERDMessagePageInterface, ERDErrorPageInterface

Superclass for all message pages.
If the key explanationComponentName resolves to non-empty, then this component will get shown in the page and wired up with a object, dataSource and pageConfiguration binding.

See Also:
Serialized Form
D2W Keys
displayNamePageConfigurationdisplayNamePageConfiguration
           
messageTitleForPagemessageTitleForPage
           
explanationComponentNameexplanationComponentName
           

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.NSKeyValueCoding
NSKeyValueCoding._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.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected  com.webobjects.directtoweb.NextPageDelegate _cancelDelegate
           
protected  WOComponent _cancelPage
           
protected  Exception _exception
           
protected  String _message
           
protected  String _title
           
static Logger log
          logging support
 
Fields inherited from class er.directtoweb.pages.ERD2WPage
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions, validationLog
 
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
ERD2WMessagePage(WOContext c)
          Public constructor
 
Method Summary
 WOComponent cancelAction()
           
 com.webobjects.directtoweb.NextPageDelegate cancelDelegate()
           
 WOComponent cancelPage()
           
 WOComponent confirmAction()
           
 com.webobjects.directtoweb.NextPageDelegate confirmDelegate()
           
 WOComponent confirmPage()
           
 Exception exception()
           
 String formattedMessage()
           
 boolean hasCancelPage()
           
 boolean hasNextPage()
           
 String message()
           
 WOComponent nextPageAction()
           
 void setCancelDelegate(com.webobjects.directtoweb.NextPageDelegate cancelDelegate)
           
 void setCancelPage(WOComponent cancelPage)
           
 void setConfirmDelegate(com.webobjects.directtoweb.NextPageDelegate confirmPageDelegate)
           
 void setConfirmPage(WOComponent confirmPage)
           
 void setException(Exception exception)
          Sets the exception.
 void setMessage(String message)
           
 void setTitle(String title)
           
 boolean showExplanationComponent()
           
 String title()
           
 String titleForPage()
           
 
Methods inherited from class er.directtoweb.pages.ERD2WPage
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, errorMessages, hasActualChanges, hasBranchChoices, hasErrors, hasValidationExceptionForPropertyKey, inlineStyleDeclarationForPropertyKey, inlineStyleDeclarationForPropertyName, invokeAction, isEmbedded, isEntityEditable, isEntityReadOnly, isKeyOmitted, isObjectDeleteable, isObjectEditable, isObjectInspectable, isTopLevelPage, latestEntryForCurrentPropertyKey, makeStatsKey, nextPage, nextPageDelegate, nextPageFromDelegate, now, object, pageController, pageWithName, pageWrapperName, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setNextPage, setNextPageDelegate, setObject, setPageController, settings, shouldCollectValidationExceptions, shouldDisplayDetailedPageMetrics, shouldDisplayPageMetricsSummary, shouldPropagateExceptions, shouldSetFailedValidationValue, showCancel, sleep, statsForPage, statsKeyForCurrentPropertyKey, statsKeyPrefix, tabSectionsContents, tabSectionsContentsFromRuleResult, takeValuesFromRequest, urlForCurrentState, 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, setVariableValueForName, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface er.directtoweb.interfaces.ERDMessagePageInterface
dataSource, nextPageDelegate, object, setDataSource, setNextPageDelegate
 
Methods inherited from interface com.webobjects.directtoweb.InspectPageInterface
setNextPage, setObject
 
Methods inherited from interface com.webobjects.directtoweb.ErrorPageInterface
setNextPage
 

Field Detail

log

public static final Logger log
logging support


_message

protected String _message

_title

protected String _title

_cancelPage

protected WOComponent _cancelPage

_cancelDelegate

protected com.webobjects.directtoweb.NextPageDelegate _cancelDelegate

_exception

protected Exception _exception
Constructor Detail

ERD2WMessagePage

public ERD2WMessagePage(WOContext c)
Public constructor

Parameters:
c - current context
Method Detail

cancelAction

public WOComponent cancelAction()

confirmAction

public WOComponent confirmAction()

nextPageAction

public WOComponent nextPageAction()

setException

public void setException(Exception exception)
Description copied from interface: ERDErrorPageInterface
Sets the exception.

Specified by:
setException in interface ERDErrorPageInterface

exception

public Exception exception()

setMessage

public void setMessage(String message)
Specified by:
setMessage in interface com.webobjects.directtoweb.ConfirmPageInterface
Specified by:
setMessage in interface com.webobjects.directtoweb.ErrorPageInterface

message

public String message()

formattedMessage

public String formattedMessage()

title

public String title()
Specified by:
title in interface ERDMessagePageInterface

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface ERDMessagePageInterface

setCancelPage

public void setCancelPage(WOComponent cancelPage)
Specified by:
setCancelPage in interface ERDMessagePageInterface

cancelPage

public WOComponent cancelPage()
Specified by:
cancelPage in interface ERDMessagePageInterface

setCancelDelegate

public void setCancelDelegate(com.webobjects.directtoweb.NextPageDelegate cancelDelegate)
Specified by:
setCancelDelegate in interface com.webobjects.directtoweb.ConfirmPageInterface

cancelDelegate

public com.webobjects.directtoweb.NextPageDelegate cancelDelegate()

setConfirmPage

public void setConfirmPage(WOComponent confirmPage)

confirmPage

public WOComponent confirmPage()

setConfirmDelegate

public void setConfirmDelegate(com.webobjects.directtoweb.NextPageDelegate confirmPageDelegate)
Specified by:
setConfirmDelegate in interface com.webobjects.directtoweb.ConfirmPageInterface

confirmDelegate

public com.webobjects.directtoweb.NextPageDelegate confirmDelegate()

titleForPage

public String titleForPage()

hasNextPage

public boolean hasNextPage()

hasCancelPage

public boolean hasCancelPage()

showExplanationComponent

public boolean showExplanationComponent()

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.