OpenWGA 7.0 - TMLScript reference
PortletEventMethod :
addParameter(name, value)
On object | PortletEvent |
Usage |
Adds a parameter to the event |
Description |
Portlet parameters are used to provide some custom data that can be processed by event receivers. They consist of some custom name and a value. Up until OpenWGA 6.1 parameter values were strings only. Non-string values are converted to strings automatically. On designs with design compliance 6.2 or higher parameter values may also be numbers, dates or booleans. They are provided to clientside Javascript catching the event the following way:
|
Parameters |
name (String): Parameter name value (Object): Parameter value |
Allowed in script types |
|