Project Wonder 2.0

er.directtoweb
Class ERD2WMessagePage

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

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

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  NextPageDelegate _cancelDelegate
           
protected  WOComponent _cancelPage
           
protected  Exception _exception
           
protected  String _message
           
protected  NextPageDelegate _nextDelegate
           
protected  WOComponent _nextPage
           
protected  String _title
           
static ERXLogger log
          logging support
 
Fields inherited from class er.directtoweb.ERD2WPage
_allConfigurations, _branch, _context, _nextPageDelegate, _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
_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
ERD2WMessagePage(WOContext c)
          Public constructor
 
Method Summary
 WOComponent cancelAction()
           
 NextPageDelegate cancelDelegate()
           
 WOComponent cancelPage()
           
 WOComponent confirmAction()
           
 NextPageDelegate confirmDelegate()
           
 WOComponent confirmPage()
           
 Exception exception()
           
 String formattedMessage()
           
 boolean hasCancelPage()
           
 boolean hasNextPage()
           
 String message()
           
 WOComponent nextPage()
           
 WOComponent nextPageAction()
           
 NextPageDelegate nextPageDelegate()
           
 void setCancelDelegate(NextPageDelegate cancelDelegate)
           
 void setCancelPage(WOComponent cancelPage)
           
 void setConfirmDelegate(NextPageDelegate confirmPageDelegate)
           
 void setConfirmPage(WOComponent confirmPage)
           
 void setException(Exception exception)
          Sets the exception.
 void setMessage(String message)
           
 void setNextPage(WOComponent nextPage)
           
 void setNextPageDelegate(NextPageDelegate nextDelegate)
           
 void setTitle(String title)
           
 boolean showExplanationComponent()
           
 String title()
           
 String titleForPage()
           
 
Methods inherited from class er.directtoweb.ERD2WPage
allConfigurationNames, appendToResponse, awake, branch, branchChoices, branchName, clearValidationFailed, currentSection, currentSectionKeys, currentTab, d2wComponentNameDebuggingEnabled, d2wContext, d2wCurrentComponentName, descriptionForResponse, editingContext, errorMessage, errorMessages, hasBranchChoices, hasValidationExceptionForPropertyKey, invokeAction, isEmbedded, isObjectDeleteable, isObjectEditable, isObjectInspectable, now, sectionsContents, sectionsForCurrentTab, self, setBranch, setCurrentSection, setCurrentTab, setD2wContext, setDataSource, setEditingContext, setErrorMessage, setErrorMessages, setLocalContext, setObject, shouldCollectValidationExceptions, shouldPropagateExceptions, shouldSetFailedValidationValue, showCancel, sleep, tabSectionsContents, tabSectionsContentsFromRuleResult, takeValuesFromRequest, urlForCurrentState, 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, 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.ERDMessagePageInterface
dataSource, object, setDataSource
 
Methods inherited from interface com.webobjects.directtoweb.InspectPageInterface
setObject
 

Field Detail

log

public static final ERXLogger log
logging support


_message

protected String _message

_title

protected String _title

_cancelPage

protected WOComponent _cancelPage

_nextPage

protected WOComponent _nextPage

_cancelDelegate

protected NextPageDelegate _cancelDelegate

_nextDelegate

protected NextPageDelegate _nextDelegate

_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 ConfirmPageInterface

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(NextPageDelegate cancelDelegate)
Specified by:
setCancelDelegate in interface ConfirmPageInterface

cancelDelegate

public NextPageDelegate cancelDelegate()

setConfirmPage

public void setConfirmPage(WOComponent confirmPage)

confirmPage

public WOComponent confirmPage()

setConfirmDelegate

public void setConfirmDelegate(NextPageDelegate confirmPageDelegate)
Specified by:
setConfirmDelegate in interface ConfirmPageInterface

confirmDelegate

public NextPageDelegate confirmDelegate()

setNextPageDelegate

public void setNextPageDelegate(NextPageDelegate nextDelegate)
Specified by:
setNextPageDelegate in interface ERDMessagePageInterface
Overrides:
setNextPageDelegate in class ERD2WPage

nextPageDelegate

public NextPageDelegate nextPageDelegate()
Specified by:
nextPageDelegate in interface ERDMessagePageInterface
Overrides:
nextPageDelegate in class ERD2WPage

setNextPage

public void setNextPage(WOComponent nextPage)
Specified by:
setNextPage in interface ErrorPageInterface
Overrides:
setNextPage in class ERD2WPage

nextPage

public WOComponent nextPage()
Overrides:
nextPage in class ERD2WPage

titleForPage

public String titleForPage()

hasNextPage

public boolean hasNextPage()

hasCancelPage

public boolean hasCancelPage()

showExplanationComponent

public boolean showExplanationComponent()

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

Copyright © 2002 – 2004 Project Wonder.