crm:label

Overview

The <crm:label> tag is used to display a label on the page.

Attributes

NameRequiredTypeDefaultDescription
forfalseStringnullUnique identifier of an associated component.
idtrueStringnullUnique identifier of the component.
isRequiredfalseBoolean

true if the data object property of the component is mandatory, otherwise false.

Marks component as required.

isTranslatablefalseBooleanfalseFlag indicating that the value of the component can be translated in multiple languages.
managedBeantrueStringnullThe name of the Java managed bean class that will be used for retrieving the component values.
modefalseStringThe mode of the managed bean.

The mode of the component. 

Allowed values are VIEW and EDIT.

styleClassfalseStringnullStyle class of the component.
tipfalseStringnullA valid key defined in translation properties file. Its translation through the glossary will be used as an advisory tooltip information.
valuetrueObjectnullThe value of the component.
visiblefalseBooleantrueControls the visibility of the component.


Getting Started

The following example shows a label component