Displays a horizontal list of one or more radio buttons. A user can select only one radio button at a time. If the component value is null or does not match any of the allowed values, no button is selected.
Properties for this display component are:
title– Specifies the title for all radio buttons.
labels– Specifies an alternate list of button labels. The labels list must be as long as the values in the allowedValues list. Alternate labels can be used in cases where the values are cryptic. For example, values can be letter codes such as H, M, and S, but you would use this property to identify button labels hours, minutes, and seconds.
allowedValues– Specifies the value associated with each button. This value must be a list of strings.
value– Specifies values for the buttons. This value accepts one string. If not set, then the values are the same as the labels.
<Field name=’attributes.accountLockExpiry.unit’> <Display class=’Radio’> <Property name=’noNewRow’ value=’true’/> <Property name=’labels’> <List> <String>UI_TASKS_XML_SCHED_MINUTES</String> <String>UI_TASKS_XML_SCHED_HOURS</String> <String>UI_TASKS_XML_SCHED_DAYS</String> <String>UI_TASKS_XML_SCHED_WEEKS</String> <String>UI_TASKS_XML_SCHED_MONTHS</String> </List> </Property> <Property name=’allowedValues’> <List> <String>minutes</String> <String>hours</String> <String>days</String> <String>weeks</String> <String>months</String> </List> </Property> </Display> </Field>