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).
Constructor and Description |
---|
ERXEmbeddedPage(String s,
NSDictionary nsdictionary,
NSMutableArray nsmutablearray) |
ERXEmbeddedPage(String s,
NSDictionary nsdictionary,
com.webobjects.appserver.WOElement woelement) |
Modifier and Type | Method and Description |
---|---|
com.webobjects.appserver.WOActionResults |
invokeChildrenAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext) |
public ERXEmbeddedPage(String s, NSDictionary nsdictionary, com.webobjects.appserver.WOElement woelement)
public ERXEmbeddedPage(String s, NSDictionary nsdictionary, NSMutableArray nsmutablearray)
Copyright © 2002 – 2020 Project Wonder.