er.directtoweb
Class ERD2WMessagePage
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.directtoweb.D2WComponent
com.webobjects.directtoweb.D2WPage
er.directtoweb.ERD2WPage
er.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 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 |
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.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 |
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
ERD2WMessagePage
public ERD2WMessagePage(WOContext c)
- Public constructor
- Parameters:
c
- current context
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()
Copyright © 2002 – 2004 Project Wonder.