- org.joget.apps.userview.service.UserviewUtil
- Under wflow-core module
- Utility methods used by userview for rendering
...
Code Block |
---|
|
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
getTemplate
public static java.lang.String getTemplate(org.joget.apps.userview.model.UserviewTheme theme, java.util.Map data, java.lang.String templatePath)
...