OpenWGA 7.2 - TMLScript reference

TMLPortlet "portlet"
Method :

getSourcePortlet(portletEvent)

On object TMLPortlet "portlet"
Usage Returns the portlet that threw a portlet event
Description Use this method in portlet event scripts to retrieve the TMLPortlet object for the portlet that threw the current event.
Parameters portletEvent (PortletEvent):
The thrown event
Return value portlet that threw the event (TMLPortlet)
Allowed in script types
  • WebTML pages and normal WebTML actions