Project Wonder 5.0

er.extensions.components
Class ERXSwitchEmbeddedPage

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by er.extensions.components.ERXSwitchEmbeddedPage

public class ERXSwitchEmbeddedPage
extends com.webobjects.appserver.WODynamicElement

ERXSwitchEmbeddedPage allows you to wrap a section of your page and treat return values from invokeAction as a replacement only for the this element and not for the entire page. This allows you to write components that operate like a sequence of top level elements, yet actually they live within a larger page. This is very similar to ERXEmbeddedPage except in it comes in the form of a switch component.

Author:
mschrag

Field Summary
 
Fields inherited from class com.webobjects.appserver.WODynamicElement
_ConstructorParameters
 
Constructor Summary
ERXSwitchEmbeddedPage(java.lang.String name, com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> associations, com.webobjects.appserver.WOElement template)
           
 
Method Summary
 java.lang.String _elementNameInContext(com.webobjects.appserver.WOContext wocontext)
           
 com.webobjects.appserver.WOElement _realComponentWithName(java.lang.String s, com.webobjects.appserver.WOContext wocontext)
           
 void _setRealComponentWithName(com.webobjects.appserver.WOComponent realComponent, java.lang.String name, com.webobjects.appserver.WOContext context)
           
 void appendToResponse(com.webobjects.appserver.WOResponse woresponse, com.webobjects.appserver.WOContext wocontext)
           
 com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest worequest, com.webobjects.appserver.WOContext wocontext)
           
 void takeValuesFromRequest(com.webobjects.appserver.WORequest worequest, com.webobjects.appserver.WOContext wocontext)
           
 
Methods inherited from class com.webobjects.appserver.WODynamicElement
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXSwitchEmbeddedPage

public ERXSwitchEmbeddedPage(java.lang.String name,
                             com.webobjects.foundation.NSDictionary<java.lang.String,com.webobjects.appserver.WOAssociation> associations,
                             com.webobjects.appserver.WOElement template)
Method Detail

_elementNameInContext

public java.lang.String _elementNameInContext(com.webobjects.appserver.WOContext wocontext)

_realComponentWithName

public com.webobjects.appserver.WOElement _realComponentWithName(java.lang.String s,
                                                                 com.webobjects.appserver.WOContext wocontext)

_setRealComponentWithName

public void _setRealComponentWithName(com.webobjects.appserver.WOComponent realComponent,
                                      java.lang.String name,
                                      com.webobjects.appserver.WOContext context)

takeValuesFromRequest

public void takeValuesFromRequest(com.webobjects.appserver.WORequest worequest,
                                  com.webobjects.appserver.WOContext wocontext)
Overrides:
takeValuesFromRequest in class com.webobjects.appserver.WOElement

invokeAction

public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest worequest,
                                                             com.webobjects.appserver.WOContext wocontext)
Overrides:
invokeAction in class com.webobjects.appserver.WOElement

appendToResponse

public void appendToResponse(com.webobjects.appserver.WOResponse woresponse,
                             com.webobjects.appserver.WOContext wocontext)
Overrides:
appendToResponse in class com.webobjects.appserver.WOElement

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.