Table of Contents Previous Section

WORadioButtonList

Synopsis

WORadioButtonList { list=anObjectList; item=anIteratedObject; value=displayedValue; [index=aNumber;] [prefix=prefixString;] [suffix=suffixString;] [selection=selectedValue;] [name=fieldName;] [disabled=YES|NO;] ... };

Description

WORadioButtonList displays a list of radio buttons. The user may select one of the objects in the list, and this object is returned as selection.

list
Array of objects that the WORadioButtonList will iterate through.
item
Current item in the list array. (This attribute's value is updated with each iteration.)
value
String to display beside the radio button for the current item.
index
Index of the current iteration of the WORadioButtonList.
prefix
An arbitrary HTML string inserted before each value.
suffix
An arbitrary HTML string inserted after each value.
selection
An object that the user chose from the list.
name
Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
disabled
If disabled evaluates to YES, this element appears in the page but is not active.

Examples

Radio button list

Table of Contents Next Section