Package de.innovationgate.wgpublisher.expressions.tmlscript

Examples of de.innovationgate.wgpublisher.expressions.tmlscript.RhinoExpressionEngineImpl.evaluateExpression()


       
        for (WGContent content : contents) {
            String title = content.getTitle();
            if (titleExpr != null) {
                TMLContext conContext = context.context(content);
                ExpressionResult result = runtime.evaluateExpression(titleExpr, conContext, ExpressionEngine.TYPE_EXPRESSION, null);
                if (!result.isError()) {
                    title = String.valueOf(result.getResult());
                }
            }
            options.add(title + "|" + content.getStructKey());
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.