itemLabel - Item Label

Displays text for a selection item.

Category

basics

Syntax

itemLabel="label"

Usage

In Design mode, select the parent control, click the Values tab under Properties, and look for Label. In Source mode, select the control, click All Properties, and look for itemLabel under basics.

Examples

This Check Box Group control contains two items for selection. The user sees "Apples" and "Oranges" next to the selection items.
<xp:checkBoxGroup id="checkBoxGroup1" value="#{document1.fruit}">
	<xp:selectItem itemLabel="Apples" itemValue="apples"></xp:selectItem>
	<xp:selectItem itemLabel="Oranges" itemValue="oranges"></xp:selectItem>
</xp:checkBoxGroup>