Wiki source code of WORadioButtonList
Version 15.1 by Klaus Berkling on 2012/03/03 17:33
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == Introduction == | ||
2 | |||
3 | WORadioButtonList displays a list of radio buttons. The user can make a selection that is then returned selection object. | ||
4 | |||
5 | == Usage == | ||
6 | |||
7 | In the WOD File: | ||
8 | |||
9 | {{code}} | ||
10 | |||
11 | WORadioButtonList { | ||
12 | list = ObjectsList; | ||
13 | item = ObjectItemInList; | ||
14 | displayString = ObjectItemInList.displayString; | ||
15 | [value = valueOfInputTag;] | ||
16 | [index = ObjectListIndex;] | ||
17 | [prefix = prefixHTMLString;] | ||
18 | [suffix = suffixHTMLString;] | ||
19 | [selection = selectedObjectInList;] | ||
20 | [name = aName;] | ||
21 | [disabled = disabledList;] | ||
22 | [escapeHTML = renderDisplayStringAsHTML;] | ||
23 | } | ||
24 | |||
25 | {{/code}} | ||
26 | |||
27 | == {{color value="#000000"}}Bindings{{/color}} == | ||
28 | |||
29 | Note: Use a string in displayString that is part of the item object, if there is no displayString then the value is used as the label for the radio button. | ||
30 | |||
31 | |= Key |= Value | ||
32 | | list | An array of objects | ||
33 | | item | An element from the list array | ||
34 | | displayString | A string used as the label for the radio button. If there is no displayString the value is used | ||
35 | | value | The value in INPUT TYPE="radio" VAUE="aValue" | ||
36 | | index | Index of the current integration of the array | ||
37 | | prefix | | ||
38 | | suffix | | ||
39 | | selection | | ||
40 | | name | | ||
41 | | disabled | | ||
42 | | escapeHTML | |