ERXEmbeddedPage Class Reference

Inherits com::webobjects::appserver::_private::WODynamicGroup.

Collaboration diagram for ERXEmbeddedPage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXEmbeddedPage (String s, NSDictionary nsdictionary, NSMutableArray nsmutablearray)
 ERXEmbeddedPage (String s, NSDictionary nsdictionary, WOElement woelement)
WOActionResults invokeChildrenAction (WORequest worequest, WOContext wocontext)


Detailed Description

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

Constructor & Destructor Documentation

ERXEmbeddedPage ( String  s,
NSDictionary  nsdictionary,
WOElement  woelement 
)

ERXEmbeddedPage ( String  s,
NSDictionary  nsdictionary,
NSMutableArray  nsmutablearray 
)


Member Function Documentation

WOActionResults invokeChildrenAction ( WORequest  worequest,
WOContext  wocontext 
)


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

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