er.extensions.components
Class ERXEmbeddedPage
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
er.extensions.components.ERXEmbeddedPage
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).
- Author:
- mschrag
Fields inherited from class com.webobjects.appserver._private.WODynamicGroup |
_children |
Fields inherited from class com.webobjects.appserver.WODynamicElement |
_ConstructorParameters |
Constructor Summary |
ERXEmbeddedPage(java.lang.String s,
com.webobjects.foundation.NSDictionary nsdictionary,
com.webobjects.foundation.NSMutableArray nsmutablearray)
|
ERXEmbeddedPage(java.lang.String s,
com.webobjects.foundation.NSDictionary nsdictionary,
com.webobjects.appserver.WOElement woelement)
|
Method Summary |
com.webobjects.appserver.WOActionResults |
invokeChildrenAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
|
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
addChildElement, appendChildrenToResponse, appendToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERXEmbeddedPage
public ERXEmbeddedPage(java.lang.String s,
com.webobjects.foundation.NSDictionary nsdictionary,
com.webobjects.appserver.WOElement woelement)
ERXEmbeddedPage
public ERXEmbeddedPage(java.lang.String s,
com.webobjects.foundation.NSDictionary nsdictionary,
com.webobjects.foundation.NSMutableArray nsmutablearray)
invokeChildrenAction
public com.webobjects.appserver.WOActionResults invokeChildrenAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
- Overrides:
invokeChildrenAction
in class com.webobjects.appserver._private.WODynamicGroup
Copyright © 2002 – 2007 Project Wonder.