Defines the items in a dropdownListBox or listBox instead of the model.
key
A string which is passed on to the event handling routine when the event occurs. A key string must be defined and must not be empty. Every listBoxItem must have an unique key.
selected
A boolean value.
selected="false": no effect
selected:="true"
dropdownListBox:
The item is displayed in the dropdownListBox. It overrules the "selection" attribute of the dropdownListBox. If several listBoxItems are selected the last defined listBoxItem is displayed in the dropdownListBox.
listBox:
selected="true": The item is displayed as selected in the listBox.
value
Defines the text string displayed in the dropdownListBox or listBox. A 'value' string has be defined and must not be empty.
Attributes |
M |
Values |
Usage |
---|---|---|---|
key |
* |
String (cs) |
Taglib key="WD" Classlib addItem ("WD","Walldorf") |
selected |
TRUE FALSE (d) |
Taglib selected = "TRUE" Classlib setSelection ("WD") |
|
value |
String |
Taglib value="Walldorf" Classlib see attribute "key" |