The Message widget has the ability to display error messages, warning messages, and hints. Messages and hints are displayed on a Web page and can also be displayed as a pop-up window. Multilingual support is provided for the messages and hints that are displayed on a GUI.
The Message widget is a Dojo-based widget. It is a new Dijit that is implemented by WebSphere® Multichannel Bank Transformation Toolkit.
Property | Description |
---|---|
dataName | The dataName property is the name of the data element to which the widget is bound. This property is optional. |
styleClass | The styleClass property specifies the class selector that is associated with the widget. If you do not configure the styleClass property, the default class selector is used instead. |
visibility | The visibility property
defines how a widget is displayed on a GUI. The following values can
be specified for this property:
|
id | The id is the identifier for the widget. |
level | The level property specifies the type of the
message. The following three values are available to be specified
for the level property:
|
The message data for the message widget can be retrieved from two different places: a WebSphere Multichannel Bank Transformation Toolkit context and the action rule of the ECA editor.
If you require the message data to be retrieved from a WebSphere Multichannel Bank Transformation Toolkit context, you must specify a data element in the dataName property.
If the message data is being retrieved from the action of an ECA rule, the message is entered into the widget from an API.
Property | Description |
---|---|
styleClass | The styleClass property specifies the class selector that is associated with a widget. If you do not configure the styleClass property, the default class selector is used instead. |
visibility | The visibility property defines how a widget
is displayed on a GUI. The following values can be specified for this
property:
|
level | The level property specifies the type of the
message. The following three values are available to be specified
for the level property:
|
Function | Description |
---|---|
display | The display function is used to display messages on the message widget on a GUI. If a value has been specified for the level property, the value of the level property is used as a parameter in the display function. |
displayPopup | The displayPopup function is used to display messages in a popup window on GUI. If a value has been specified for the level property, the value of the level property is used as a parameter in the displayPopup function. |
closeMessage | The closeMessage function is used to close the Message widget on a GUI. |