Examples of TMLScriptRootScope


Examples of de.innovationgate.wgpublisher.expressions.tmlscript.TMLScriptRootScope

        TMLAction action = context.getActionByID(actionLocator.getId(), actionLocator.getDbkey());
        if (action == null) {
            throw new EvaluatorException("Could not retrieve action for ID '" + actionID + "'");
        }

        TMLScriptRootScope rootScope = fetchRootScope(cx);

        // Call action
        Object actionResult;
        try {
            actionResult = context.callCustomAction(action, actionArgs, rootScope.getData().getUnwrappedGlobalScopeObjects());
        }
        catch (WGAPIException e) {
            throw Context.throwAsScriptRuntimeEx(e);
        }
View Full Code Here

Examples of de.innovationgate.wgpublisher.expressions.tmlscript.TMLScriptRootScope

        }

        // Call action
        Object actionResult;
        try {
            TMLScriptRootScope rootScope = WGAGlobal.fetchRootScope(cx);
            actionResult = context.callCustomAction(action, actionArgs, rootScope.getData().getUnwrappedGlobalScopeObjects());
        }
        catch (WGAPIException e) {
            throw Context.throwAsScriptRuntimeEx(e);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.