Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


English

Description

Thai

ลักษณะ

  • org.joget.apps.userview.service.UserviewUtil
  • Under wflow-core module
  • Utility methods used by userview for rendering

...

Code Block
languagejava
import java.util.Map;
import java.util.HashMap;
import org.joget.apps.userview.service.UserviewUtil;
 
//following script is used in a method of userview theme
Map data = new HashMap();
data.put("theme", this);
data.put("message", "hello world!!");
String html = UserviewUtil.getTemplate(this, data, "/templates/userview/test.ftl");

Methods

Thai

กระบวนการ

getTemplate
public static java.lang.String getTemplate(org.joget.apps.userview.model.UserviewTheme theme, java.util.Map data, java.lang.String templatePath)

...