er.directtoweb
Class ERD2WProgressPage
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
er.directtoweb.ERD2WProgressPage
- 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:
- ERD2WProgressPageTemplate
- public class ERD2WProgressPage
- extends ERD2WMessagePage
Displays progress by using a ERXLongResponse.Task. Very useful for sending mail and the like.
You call up this page and give it a long running task.
The task is currently responsible for returning the correct page for each stage.
Work in progress.
- 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.ERD2WMessagePage |
cancelAction, cancelDelegate, cancelPage, confirmAction, confirmDelegate, confirmPage, exception, formattedMessage, hasCancelPage, hasNextPage, message, nextPage, nextPageAction, nextPageDelegate, setCancelDelegate, setCancelPage, setConfirmDelegate, setConfirmPage, setException, setMessage, setNextPage, setNextPageDelegate, setTitle, showExplanationComponent, title, 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.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 |
_longResponseTask
protected ERXLongResponseTask _longResponseTask
- holds the task
_percentCompleted
protected int _percentCompleted
- holds the completed percentage
ERD2WProgressPage
public ERD2WProgressPage(WOContext context)
- Public constructor
- Parameters:
context
- the context
longResponseTask
public ERXLongResponseTask longResponseTask()
setLongResponseTask
public void setLongResponseTask(ERXLongResponseTask longResponseTask)
shouldShowProgressBar
public boolean shouldShowProgressBar()
percentCompleted
public int percentCompleted()
setPercentCompleted
public void setPercentCompleted(int value)
Copyright © 2002 – 2004 Project Wonder.