selectedValue - Selected Value

Specifies the value of a data element bound to a selected (as opposed to cleared) control.

Category

data

Syntax

selectedValue="value"

Usage

In Design mode, click Data under Properties and look for Value when selected, or click All Properties and look for selectedValue under data.

This property applies to a control that can be selected or cleared such as a radio button, and defaults to an empty string.

Examples

This Radio Button control assigns a data value if it is selected.
<xp:radio text="Oranges" id="radio2" value="#{document1.fruit}"
	selectedValue="oranges" groupName="fruit">
</xp:radio>