OpenWGA 7.11 - TMLScript reference

TMLContext "this"
Method :

createEvent(name)

On object TMLContext "this"
Usage Creates a new PortletEvent object
Description The created event object can be configured and then thrown via method portlet.fireEvent().
Parameters name (String):
Name of the portlet event. All event receivers subscribing to this name will receive it when it is thrown.
Return value A new object of type PortletEvent
Allowed in script types
  • WebTML pages and normal WebTML actions