NotePlease consider using alloy:field since it has a label attribute and provides color-coded styling based on the results of validation.
alloy:outputLabelOutputLabel is a UIOutput component that renders its value attribute within a
<label>element. Since it extends HtmlOutputLabel, it supports all the features of h:outputLabel.
General UsageThe value attribute can be bound to a message-bundle property via EL in order to render internationalized labels.
If the component is associated with an input component like alloy:inputText via the for attribute, then a validation FacesMessage that is queued for the associated component will use the value of the label. This provides the end-user with a better context as to which input field failed validation.
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