OpenWGA 7.9 - TMLScript reference

TMLPortlet "portlet"
Method :

unregister()

On object TMLPortlet "portlet"
Usage Removes the current portlet from portlet registry.
Description

This completely removes the whole portlet configuration including items, modes and other settings. If the portlet has child portlets they are also unregistered.

Do not attempt to store data to the current portlet after it is unregistered as this will provoke errors.

 Do not call this method on the root portlet as it cannot be unregistered.

Allowed in script types
  • WebTML pages and normal WebTML actions