Package de.innovationgate.wgpublisher.expressions.tmlscript

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


        }

        // 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

Related Classes of de.innovationgate.wgpublisher.expressions.tmlscript.TMLScriptRootScope

Copyright © 2018 www.massapicom. 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.