Here is the solution for the issue I raised. Yeah, it is a dumb question.
If it is only one preselected vlaue then use "value" in html:select.
The catch here that I understood later is property in html:select should be
array of strings if strings are displayed in the option list.
Let me rephrase my question here..
has "value" attribute that is to be populated if one of the
options is to be pre-selected.
What if I have to pre select multiple options.. may be using optionCollections
etc. something like html:select having a "value[]" so that I can put in all
values tha
How would I see that an element is pre-selected or highlighted just the
way it happens with selected keyword in regular tag..
What I am trying to do here is populate a collection of objects on
multi-select box, some of them pre-populated. I tried
http://mail.yahoo.com
3 matches
Mail list logo