OpenWGA 7.10 - TMLScript reference

TMLPortlet "portlet"
Method :

fireEvent(event)
fireEvent(eventName[,parameter])

On object TMLPortlet "portlet"
Usage Throws a portlet event
Description

This method has two variants. Variant 1 throws an existing PortletEvent object. Variant 2 creates a new portlet event of the given name and throws it immediately.

This will reload WebTML portlets that subscribe to the event name after this request has been transferred to the browser.

Parameters event (PortletEvent):
Variant 1: The event to throw

eventName (String):
Variant 2: Name of the instant portlet event to throw

parameter (map):
Variant 2: optional map of event parameters

Allowed in script types
  • WebTML pages and normal WebTML actions