Alloy Showcase

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 3.0.0 + Liferay Faces Bridge Implementation 4.0.0 + Showcase Common 3.0.0 + Liferay Faces Util 3.0.0 + Mojarra 2.2.13