public class ERXEmbeddedPage extends com.webobjects.appserver._private.WODynamicGroup
ERXEmbeddedPage 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.
As an example, you might have a multi-page form that you want to embed in a larger page. Rather than write a top level component for your form that has to deal with a big conditional, you can just wrap the form in an ERXEmbeddedPage and have your "next page" action methods just return the next subcomponent in the sequence.
If you need to pass bindings in and out of later components in your sequence, you can instead choose to use ERXSwitchEmbeddedPage, which will has similar bindings rules to WOSwitchComponent (all components in the sequence must support the set of bindings).
_children
_ConstructorParameters
Constructor and Description |
---|
ERXEmbeddedPage(String s,
NSDictionary nsdictionary,
NSMutableArray nsmutablearray) |
ERXEmbeddedPage(String s,
NSDictionary nsdictionary,
WOElement woelement) |
Modifier and Type | Method and Description |
---|---|
WOActionResults |
invokeChildrenAction(WORequest worequest,
WOContext wocontext) |
addChildElement, appendChildrenToResponse, appendToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
public ERXEmbeddedPage(String s, NSDictionary nsdictionary, WOElement woelement)
public ERXEmbeddedPage(String s, NSDictionary nsdictionary, NSMutableArray nsmutablearray)
public WOActionResults invokeChildrenAction(WORequest worequest, WOContext wocontext)
invokeChildrenAction
in class com.webobjects.appserver._private.WODynamicGroup
Copyright © 2002 – 2024 Project Wonder.