crm:label
Overview
The <crm:label> tag is used to display a label on the page.
Attributes
Name | Required | Type | Default | Description |
---|---|---|---|---|
for | false | String | null | Unique identifier of an associated component. |
id | true | String | null | Unique identifier of the component. |
isRequired | false | Boolean | true if the data object property of the component is mandatory, otherwise false. | Marks component as required. |
isTranslatable | false | Boolean | false | Flag indicating that the value of the component can be translated in multiple languages. |
managedBean | true | String | null | The name of the Java managed bean class that will be used for retrieving the component values. |
mode | false | String | The mode of the managed bean. | The mode of the component. Allowed values are VIEW and EDIT. |
styleClass | false | String | null | Style class of the component. |
tip | false | String | null | A valid key defined in translation properties file. Its translation through the glossary will be used as an advisory tooltip information. |
value | true | Object | null | The value of the component. |
visible | false | Boolean | true | Controls the visibility of the component. |
Getting Started
The following example shows a label component