|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
cocoon | +--cocoon.Cocoon
The Cocoon interface defines the main Cocoon liaison
available to flow scripts.
| Operation Summary | |
| sendPage | Passes control to the Cocoon sitemap to generate the output page. |
| sendPageAndWait | Passes control to the Cocoon sitemap to generate the output page, interrupting the execution until another request comes in. |
| Attribute Summary | |
| contxt | The current Context instance. |
| log | The current Log instance used for logging. |
| request | The current Request instance associated with this script. |
| Operation Details |
Passes control to the Cocoon sitemap to generate the output page.
TODO: What happens when the control returns to a script which (for
example) calls again sendPage(AndWait)???
Passes control to the Cocoon sitemap to generate the output page, interrupting the execution until another request comes in.
The flow script is suspended after the page is generated and the
whole execution stack saved in a Continuation. This
instance is returned to the caller once the next request triggers
the continuation of the current execution stack.
TODO: Explain in better English what exactly goes on here.
Continuation instance.
Continuation instance associated with this
current execution stack.
Continuation instance.
| Attribute Details |
readonly attribute cocoon::Context contxt
NOTE: "context" is a reserved word in
IDL (at least it seems so). This name has been mangled accordingly
to allow IDLDoc to produce the documentation.
readonly attribute cocoon::Log log
readonly attribute cocoon::Request request