Joget Workflow v6 Released

Check out the latest Joget Workflow v6 for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata

Description

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

Code Sample

The following script is used in a method of a Userview Theme plugin

Methods

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

Method used to retrieve HTML template of an userview theme

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

Method used to retrieve HTML template of an userview theme with i18n supported

getUserviewMenuHtml
public static java.lang.String getUserviewMenuHtml(org.joget.apps.userview.model.UserviewMenu menu) throws java.lang.RuntimeException

Method used to retrieve HTML template of an userview menu

renderJspAsString
public static java.lang.String renderJspAsString(java.lang.String viewName, java.util.Map<java.lang.String, java.lang.Object> modelMap)

Method used to convert a jsp page as HTML template

  • No labels