OpenWGA 7.2 - TMLScript reference

TMLPortlet "portlet"
Property :

mode

On object TMLPortlet "portlet"
Usage Returns the current portlet mode
Description This is a string identifying some mode that the portlet currently is in. Besides default mode "view" there may be unlimited custom modes defined by the portlet designer.
Default value "view"
Writable True
Return value Name of the mode (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
    portletevent