ERXSwitchEmbeddedPage Class Reference

Inherits com::webobjects::appserver::WODynamicElement.

Collaboration diagram for ERXSwitchEmbeddedPage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String _elementNameInContext (WOContext wocontext)
WOElement _realComponentWithName (String s, WOContext wocontext)
void _setRealComponentWithName (WOComponent realComponent, String name, WOContext context)
void appendToResponse (WOResponse woresponse, WOContext wocontext)
 ERXSwitchEmbeddedPage (String name, NSDictionary< String, WOAssociation > associations, WOElement template)
WOActionResults invokeAction (WORequest worequest, WOContext wocontext)
void takeValuesFromRequest (WORequest worequest, WOContext wocontext)

Private Attributes

NSMutableDictionary _componentAttributes
NSMutableDictionary _componentCache
WOAssociation _initialComponentName
WOElement _template


Detailed Description

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

Constructor & Destructor Documentation

ERXSwitchEmbeddedPage ( String  name,
NSDictionary< String, WOAssociation >  associations,
WOElement  template 
)


Member Function Documentation

String _elementNameInContext ( WOContext  wocontext  ) 

WOElement _realComponentWithName ( String  s,
WOContext  wocontext 
)

void _setRealComponentWithName ( WOComponent  realComponent,
String  name,
WOContext  context 
)

void appendToResponse ( WOResponse  woresponse,
WOContext  wocontext 
)

WOActionResults invokeAction ( WORequest  worequest,
WOContext  wocontext 
)

void takeValuesFromRequest ( WORequest  worequest,
WOContext  wocontext 
)


Member Data Documentation

WOAssociation _initialComponentName [private]

WOElement _template [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:06 2012 for Project Wonder by  doxygen 1.5.8