| Sets the selection state of the specified list item on markup.
If this component is a <select> the attribute selected
of the involved <option> is defined accordingly, any other
the selected attribute of any other <option> is removed
(only one option can be selected), otherwise (free lists) it does nothing,
use a item selection listener (ItemListener ) to decorate
the markup when selection state changes.
Parameters: index - index of the list item to change selection state. |