use of com.axelor.tool.template.TemplateMaker in project axelor-open-suite by axelor.
the class TemplateService method processContent.
public String processContent(String timeZone, Template template, Model bean, String beanName, Map<String, Object> context) {
TemplateMaker maker = new TemplateMaker(timeZone, AppFilter.getLocale(), '$', '$');
maker.setTemplate(template.getContent());
maker.setContext(bean, context, beanName);
return maker.make();
}
Aggregations