| 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, otherwise (free lists) it does nothing, use a list selection model listener to decorate
the markup when selection state changes.
Parameters: index - index of the list item to change selection state. Parameters: selected - if true the markup is set as selected. |