Project Wonder 2.0

er.directtoweb
Class ERD2WSwitchComponent

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WOComponent
          extended bycom.webobjects.directtoweb.D2WSwitchComponent
              extended byer.directtoweb.ERD2WSwitchComponent
All Implemented Interfaces:
Cloneable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults

public class ERD2WSwitchComponent
extends D2WSwitchComponent

Rewrite of D2WSwitchComponent to not cache the D2WContext. Useful for nesting configurations.

See Also:
Serialized Form

Nested Class Summary
 
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
static ERXLogger log
          logging support
 
Fields inherited from class com.webobjects.directtoweb.D2WSwitchComponent
possibleBindings
 
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
ERD2WSwitchComponent(WOContext context)
           
 
Method Summary
 void appendToResponse(WOResponse r, WOContext c)
           
 void awake()
          Calling super is a bad thing with 5.2.
static D2WContext makeSubContextForDynamicPageNamed(String s, WOSession wosession)
           
static D2WContext makeSubContextForTaskAndEntity(String s, EOEntity eoentity, WOSession wosession)
           
 void maybeResetCaches()
           
 void resetCaches()
           
 D2WContext subContext()
           
 void validationFailedWithException(Throwable e, Object value, String keyPath)
           
 
Methods inherited from class com.webobjects.directtoweb.D2WSwitchComponent
addToPossibleBindings, componentName, entityName, extraBindings, lookFromSettings, setExtraBindings, setSubContext, settings, sleep, synchronizesVariablesWithBindings, task
 
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, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

public static final ERXLogger log
logging support

Constructor Detail

ERD2WSwitchComponent

public ERD2WSwitchComponent(WOContext context)
Method Detail

awake

public void awake()
Calling super is a bad thing with 5.2. Will perform binding checks that shouldn't be done.


resetCaches

public void resetCaches()

maybeResetCaches

public void maybeResetCaches()

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)

subContext

public D2WContext subContext()

makeSubContextForTaskAndEntity

public static D2WContext makeSubContextForTaskAndEntity(String s,
                                                        EOEntity eoentity,
                                                        WOSession wosession)

makeSubContextForDynamicPageNamed

public static D2WContext makeSubContextForDynamicPageNamed(String s,
                                                           WOSession wosession)

validationFailedWithException

public void validationFailedWithException(Throwable e,
                                          Object value,
                                          String keyPath)

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

Copyright © 2002 – 2004 Project Wonder.