alloy:field

Field is a UIPanel component that renders a <div> element and a <label> element in order to wrap a field. Since it extends HtmlPanelGroup, it supports all the features of h:panelGroup.

Message Styling Usage

The component will automatically be styled according to the most severe message that exists within it.

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