(Quick Reference)
ui:message
Purpose
This tag renders a message for the user, such as an info or warning message.
See also
displayMessage for the variant that renders the message set by the controller.
Example
<ui:message type="warning" text="alert.message.something.dodgy"/>
<ui:message type="info">This is some my inline message</ui:message>
Attributes
Name | Required? | Description |
---|
type | No | The type of the message. Valid values are 'info', 'error', 'warning' and 'debug'. 'debug' messages are only shown in the DEVELOPMENT environment. |
text | No | If specified, will be used as the text content for the cell, translated using i18n message bundle if found. If not specified, the body will be used. |
textArgs | No | Used as the arguments for the "text" i18n message if used. |