These methods are available to every flow script automatically to simplify interactions with the flow engine. They can be overridden as necessary for advanced customizations like intercepting every function call to perform some common logic like security checks.
The only method that should be called from an application's flow scripts is forwardAndWait() as the others are mainly just used by the framework. They are exposed to allow the user to easily customize functionality.
| Function Summary | |
|---|---|
Continuation
|
forwardAndWait(name, atts, allowedRemoteFuncs)
|
void
|
handleContinuation(kont)
|
Continuation forwardAndWait(name, atts, allowedRemoteFuncs)
Forwards to a page and creates a continuation. Contains special support for client FlowCall's (calling flow functions through asynchrous javascript calls from the client). The forward name will be used to find the appropriate Struts ActionForward to return from the Action.
name -
The Struts forward name to call atts -
Map of business objects to place in the request scope allowedRemoteFuncs -
A list of remote function names that are allowed to be called from asynchronously from the client. An empty array allows any function call, a null or not specified array allows none.