Re: reg. html:option tag -- solved

2005-09-08 Thread peru cheppanu
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.

Re: reg. html:option tag

2005-09-08 Thread peru cheppanu
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

reg. html:option tag

2005-09-08 Thread peru cheppanu
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