Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
public static final String REDIRECT_URL_PROPERTY = "userviewRedirectUrl";
Property key to set a url for redirection.
public static final String REDIRECT_PARENT_PROPERTY = "userviewRedirectParent";
Property key to set the redirection target to parent window. The property expecting "true" or "false" as value.
public static final String ALERT_MESSAGE_PROPERTY = "userviewAlertMessage";
Property key to set a alert message to show when a page loaded.
public abstract String getCategory()
Category to be displayed in Userview Builder palette
public abstract String getIcon()
Icon path to be displayed in Userview Builder palette
public abstract String getRenderPage()
Get render HTML template for UI
public abstract boolean isHomePageSupported()
Used to determine this menu item can used as home page or not.
public abstract String getDecoratedMenu()
Get Decorated menu HTML for rendering.
public String getMenu()
Get menu html for rendering. It will call getDecoratedMenu method to retrieve the menu HTML. If empty value is return, a default menu HTML will be generated based on getURL method and "label" property.
public String getJspPage()
Get path of JSP file to render the HTML template. If this value is not NULL, value returned by getRenderPage will be ignored.
It is used to use the system predefined template for rendering. Options are as following:
- userview/plugin/datalist.jsp
- userview/plugin/form.jsp
- userview/plugin/runProcess.jsp
- userview/plugin/unauthorized.jsp
public String getUrl()
public void setUrl(String url)
public String getKey()
public void setKey(String key)
public java.util.Map getRequestParameters()
Gets request parameters
public void setRequestParameters(java.util.Map requestParameters)
Sets request parameters
public java.lang.Object getRequestParameter(java.lang.String requestParameter)
Convenience method to get a parameter value
public java.lang.String getRequestParameterString(java.lang.String requestParameter)
Convenience method to get a parameter String value.
Return Empty string instead of NULL.
public String getReadyJspPage()
public String getReadyRenderPage()
public Userview getUserview()
public void setUserview(Userview userview)
public void setRedirectUrl(String redirectUrl)
public void setRedirectUrl(String redirectUrl, boolean redirectToParent)
public void setAlertMessage(String message)