Package org.openntf.domino.xsp.model

Examples of org.openntf.domino.xsp.model.DominoDocumentMapAdapter


    final DominoDocument dominoDoc = (DominoDocument) ExtLibUtil.resolveVariable(ctx, "currentDocument");
    Map<String, Object> dataMap = null;
    if (dominoDoc instanceof Map) {
      dataMap = (Map<String, Object>) dominoDoc;
    } else {
      dataMap = new DominoDocumentMapAdapter(dominoDoc);
    }
    try {
      FormulaContextXsp fctx = (FormulaContextXsp) Formulas.createContext(dataMap, Formulas.getParser());
      fctx.init(this.getComponent(), ctx);
      return getASTNode().solve(fctx);
View Full Code Here


    final DominoDocument dominoDoc = (DominoDocument) ExtLibUtil.resolveVariable(ctx, "currentDocument");
    Map<String, Object> dataMap = null;
    if (dominoDoc instanceof Map) {
      dataMap = (Map<String, Object>) dominoDoc;
    } else {
      dataMap = new DominoDocumentMapAdapter(dominoDoc);
    }
    List<Object> ret = null;
    try {
      FormulaContextXsp fctx = (FormulaContextXsp) Formulas.createContext(dataMap, Formulas.getParser());
      fctx.init(this.getComponent(), ctx);
View Full Code Here

TOP

Related Classes of org.openntf.domino.xsp.model.DominoDocumentMapAdapter

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.