p:label
Purpose
Renders a <label> element, with the text optionally loaded from i18n if required.Example
<p:label text="field.user.name"/> <p:label text="field.user.name" textArgs="[user.name]"/>
Attributes
Name | Purpose |
---|---|
text | The text of the label, or an i18n code to resolve to use as the text |
textArgs | Optional arguments to pass when creating the i18n message text |