Examples of executeTemplateFile()


Examples of org.projectforge.scripting.GroovyEngine.executeTemplateFile()

    data.put("loggedInUser", user);
    data.put("recipient", recipient);
    data.put("msg", composedMessage);
    log.debug("groovyTemplate=" + groovyTemplate);
    final GroovyEngine engine = new GroovyEngine(data, recipient.getLocale(), recipient.getTimeZoneObject());
    final String result = engine.executeTemplateFile(groovyTemplate);
    return result;
  }

  /**
   * Replaces new lines by <br/> and escapes html characters.
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.