OpenWGA 7.0 - TMLScript reference

TMLPortlet "portlet"
Method :

cleanup()

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

Resets the whole data of the current portlet configuration.

In addition to the operations on clearState() it also removes all portlet items from portlet configuration.

This does not influence the data of child portlets.
Allowed in script types
  • WebTML pages and normal WebTML actions
    portletevent