com.webobjects.woextensions
Class WOPageRestorationError
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.woextensions.WOPageRestorationError
- All Implemented Interfaces:
- Cloneable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
- public class WOPageRestorationError
- extends WOComponent
- See Also:
- Serialized Form
Methods inherited from class com.webobjects.appserver.WOComponent |
application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath |
WOPageRestorationError
public WOPageRestorationError(WOContext aContext)
appendToResponse
public void appendToResponse(WOResponse aResponse,
WOContext aContext)
- Description copied from class:
WOComponent
- Forces the component to generate its interface and output it in the response's content.
Component objects associated with a response receive this message
during the last phase of the component request handling, or when returned by a direct action method.
In the append-to-response phase, application objects (particularly the response page instance itself) generate
the HTML content of the page. WOComponent's default implementation of this
method invokes the
appendToResponse
method on the root WOElement
object of the component template, which in turn invokes appendToResponse
.
Subclasses of WOComponent can override this
method to replace or supplement the default behavior with custom logic.
- Overrides:
appendToResponse
in class WOComponent
- Parameters:
aResponse
- the HTTP response that an application returns to a Web
server to complete a cycle of the request-response loopaContext
- context of a transaction- See Also:
WOComponent.invokeAction(WORequest aRequest, WOContext aContext)
,
WOComponent.takeValuesFromRequest(WORequest aRequest, WOContext aContext)
isEventLoggingEnabled
public boolean isEventLoggingEnabled()
- Description copied from class:
WOComponent
- Called to determine if a component wants event logging. This is
not desirable, for example, for components which are associated
with events as they would interfere with the actual event
logging. The default implementation of this method returns
true
.
- Overrides:
isEventLoggingEnabled
in class WOComponent
- Returns:
true
if the event logging is enabled for the component, false
otherwise- See Also:
WOEvent
Copyright © 2004 Apple Computer, Inc.