OpenWGA 7.9 - TMLScript reference

TMLPortlet "portlet"
Method :

clearState()

On object TMLPortlet "portlet"
Usage Clears the portlet state
Description

Will remove all session state from the portlet:

  • Portlet mode is reset to "view"
  • Portlet context is removed
  • All portlet variables and session variables are removed
Allowed in script types
  • WebTML pages and normal WebTML actions