WebObjects Extension Specifications
Table of Contents Previous Section
WOCheckBoxList
Synopsis
WOCheckBoxList { list=anObjectList; item=anIteratedObject; value=displayedValue; [index=aNumber;] [prefix=prefixString;] [suffix=suffixString;] [selections=selectedValues;] [name=fieldName;] [disabled=YES|NO;] ... };
Description
WOCheckBoxList displays a list of check boxes. The user may select several of the objects in the list, and this sublist is returned as selections.
- list
- Array of objects that the WOCheckBoxList 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 check box for the current item.
- index
- Index of the current iteration of the WOCheckBoxList.
- prefix
- An arbitrary HTML string inserted before each value.
- suffix
- An arbitrary HTML string inserted after each value.
- selections
- An array of objects 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
A list of options
Table of Contents Next Section