Wiki source code of Static List

Version 1.1 by Simon Urli on 2019/05/29

Show last authors
1 Static List allows to store and display single-select or multi-select fields that can be displayed as select, checkbox, radio or suggests fields.
2
3 == Properties ==
4
5 === Display Type ===
6
7 Several types are available for displaying a static list:
8 * *select*: display the list as an html select
9 * *checkbox*: display the list as checkboxes
10 * *radio*: display the list as a radio button
11 * *input*: display a simple input text. Note that this option might be used in combination with "Use suggest" and "Free text", to allow entering custom values.
12
13 === Multiple select ===
14
15 If checked, it allows to select multiple values. Else it only allow to select one value.
16
17 === Use suggest ===
18
19 This property only works in combination with *input* display type: it allows to display a suggest list when the user is typing in the input text, and to select from it.
20
21 === Allow large strings ===
22
23 This property has been introduced in {{code}}XWiki 11.5RC1{{/code}} and allow to store values with more than 255 characters.
24
25 === Size of the corresponding form element in edit mode ===
26
27 This property is useful only with *select* display, it allows to specify the number of options to display in the select.
28
29 === Multiselect separators (for editing) ===
30
31 This property allows to specify some operators used to distinguish multiple values in a single string, in edit mode.
32 By default, the value accepted separators are "|", "," and " ".
33 For example, if you send the value "Foo|Bar|Baz" in edit, it would be considered as the three values: Foo, Bar and Baz.
34
35 [TODO]

Get Connected