Wml input processing, Selection lists – Nokia 9110i User Manual
Page 23
23 (26)
GO Attributes:
href
specifies the destination URL. Href is an obligatory attribute.
method
specifies the HTTP submission method. Values 'get' and 'post' are accepted, in 9110i 'get'-
method is default.
A
prev
element declares a prev task, indicating navigation to the previous URI on the history stack. If
there isn't any history stack the previous task will be dimmed.
A
noop
element specifies that nothing should be done ie. no operation
5.5 WML Input Processing
There are two kinds of input elements; text-fields determined by input-element and selection lists
determined by select-element. Option elements are used to specify a single choise option in a select
element. Option elements can be grouped by using optgroup-element (see the picture below with
selection lists and input fields).
5.5.1 Selection lists
Selection lists (
) are an input element that specifies a list of options for the
user to choose from. There are single choise and multiple choise lists available, the user can select
multiple choices, if the multiple attribute is set as TRUE (selected items are marked with a selection
symbol).
The figure above shows how the multiple selection element is rendered. When the Select – button is
pressed the item is selected and marked with dark color. When OK is pressed the selections are moved
to the box on the deck. User can see the selections on the box. If those strings cannot fit to the box,
only first ones are shown.
If the selection element attribute multiple is false, the Select and Deselect – buttons are not visible . In
that case the selection is made by pressing OK. Cancel – button cancels the selection and closes the
dialog.
Options can be grouped with
element. Option group titles cannot be selected, the
selection bar "jumps" over those. Functionality is similar than selecting multiple items from selection
list.
Select attributes:
multiple
indicates that the select list should accept multiple selections. When not set, the select
list only accepts a single selected option. Possible values true/false
name
name of the variable to set with the result of the selection