er.extensions.components
Class ERXSwitchEmbeddedPage
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
er.extensions.components.ERXSwitchEmbeddedPage
public class ERXSwitchEmbeddedPage
- extends 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
ERXSwitchEmbeddedPage
public ERXSwitchEmbeddedPage(String name,
NSDictionary<String,WOAssociation> associations,
WOElement template)
_elementNameInContext
public String _elementNameInContext(WOContext wocontext)
_realComponentWithName
public WOElement _realComponentWithName(String s,
WOContext wocontext)
_setRealComponentWithName
public void _setRealComponentWithName(WOComponent realComponent,
String name,
WOContext context)
takeValuesFromRequest
public void takeValuesFromRequest(WORequest worequest,
WOContext wocontext)
- Overrides:
takeValuesFromRequest in class WOElement
invokeAction
public WOActionResults invokeAction(WORequest worequest,
WOContext wocontext)
- Overrides:
invokeAction in class WOElement
appendToResponse
public void appendToResponse(WOResponse woresponse,
WOContext wocontext)
- Overrides:
appendToResponse in class WOElement
Copyright © 2002 – 2007 Project Wonder.