alloy:message

Message is a UIMessage component that renders a <span> element containing the text of a single FacesMessage for an associated component. Since it extends HtmlMessage, it supports all the features of h:message.

General Usage

The component can be associated with an input component like alloy:inputText via the for attribute. If it is a child of alloy:field then it will be automatically styled when validation fails.

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20