| org.apache.cocoon.components.flow.javascript.JavaScriptFlowHelper org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptFlowHelper
FOM_JavaScriptFlowHelper | public class FOM_JavaScriptFlowHelper extends JavaScriptFlowHelper (Code) | | Provides the interface between the JavaScript flow controller layer and the
view layer. A view can obtain the JavaScript "live connect" objects (that
allow access to Java constructors) through this interface, as well as
the FOM objects.
version: CVS $Id: FOM_JavaScriptFlowHelper.java 454131 2006-10-08 11:42:14Z joerg $ |
Method Summary | |
public static Scriptable | getFOM_Context(Map objectModel) | public static Scriptable | getFOM_FlowScope(Map objectModel) Get the flowscript scope, usable by JS snippets part of the control layer, such
as forms event listeners. | public static Scriptable | getFOM_Request(Map objectModel) | public static Scriptable | getFOM_Response(Map objectModel) | public static Scriptable | getFOM_Session(Map objectModel) | public static Scriptable | getFOM_WebContinuation(Map objectModel) | public static Scriptable | getJavaPackage(Map objectModel) | public static Scriptable | getPackages(Map objectModel) | public static void | setFOM_Context(Map objectModel, Scriptable fom_context) | public static void | setFOM_FlowScope(Map objectModel, Scriptable fom_scope) Set the flowscript scope usable by JS snippets. | public static void | setFOM_Request(Map objectModel, Scriptable fom_request) | public static void | setFOM_Response(Map objectModel, Scriptable fom_response) | public static void | setFOM_Session(Map objectModel, Scriptable fom_session) | public static void | setFOM_WebContinuation(Map objectModel, Scriptable fom_webContinuation) | public static void | setJavaPackage(Map objectModel, Scriptable javaPkg) | public static void | setPackages(Map objectModel, Scriptable pkgs) |
getFOM_Context | public static Scriptable getFOM_Context(Map objectModel)(Code) | | |
getFOM_FlowScope | public static Scriptable getFOM_FlowScope(Map objectModel)(Code) | | Get the flowscript scope, usable by JS snippets part of the control layer, such
as forms event listeners.
Parameters: objectModel - the object model where the scope is stored the flowscript scope |
getFOM_Request | public static Scriptable getFOM_Request(Map objectModel)(Code) | | |
getFOM_Response | public static Scriptable getFOM_Response(Map objectModel)(Code) | | |
getFOM_Session | public static Scriptable getFOM_Session(Map objectModel)(Code) | | |
getFOM_WebContinuation | public static Scriptable getFOM_WebContinuation(Map objectModel)(Code) | | |
getJavaPackage | public static Scriptable getJavaPackage(Map objectModel)(Code) | | Return the JS "java" property (that gives access to the "java"
package) for use by the view layer
Parameters: objectModel - The Cocoon Environment's object model The java package property |
getPackages | public static Scriptable getPackages(Map objectModel)(Code) | | Return the JS "Packages" property (that gives access to Java
packages) for use by the view layer
Parameters: objectModel - The Cocoon Environment's object model The Packages property |
setFOM_Context | public static void setFOM_Context(Map objectModel, Scriptable fom_context)(Code) | | |
setFOM_Request | public static void setFOM_Request(Map objectModel, Scriptable fom_request)(Code) | | |
setFOM_Response | public static void setFOM_Response(Map objectModel, Scriptable fom_response)(Code) | | |
setFOM_Session | public static void setFOM_Session(Map objectModel, Scriptable fom_session)(Code) | | |
setFOM_WebContinuation | public static void setFOM_WebContinuation(Map objectModel, Scriptable fom_webContinuation)(Code) | | |
setJavaPackage | public static void setJavaPackage(Map objectModel, Scriptable javaPkg)(Code) | | Set the JS "java" property in the current request
Parameters: objectModel - The Cocoon Environment's object model |
setPackages | public static void setPackages(Map objectModel, Scriptable pkgs)(Code) | | Set the JS "Packages" property in the current request
Parameters: objectModel - The Cocoon Environment's object model |
Methods inherited from org.apache.cocoon.components.flow.javascript.JavaScriptFlowHelper | public static Object unwrap(Object obj)(Code)(Java Doc)
|
|
|