itemValue - Value

Specifies a value to return to the parent control when the user selects an item.

Category

data

Syntax

itemValue="value"

Usage

In Design mode, select the parent control, click the Values tab under Properties, and look for Value. In Source mode, select the control, click All Properties, and look for itemValue under data.

Examples

This Check Box Group control contains two items for selection. The value of document1.fruit is an empty string, apples, oranges, or both apples and oranges (document1.fruit must be a multi-value item) depending on what the user selects.
<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>