Hi All:

 

I have a JSP Form in which one field is a multi-select drop-down box. An
array of String is used to represent it

 

I am facing this problem when trying to "Edit" stuff.

 

The Drop-down initially has many different values selected. 

 

If I try to change selections everything is Fine. Irrespective of if I
increase the number of selections or decrease them as long as I select at
least one.

 

However, if I try to deselect all then the Original Selected Values remain
as it is and are passed to the Form.

 

The only Solution - which is a Workaround is that the User selects the dummy
Item "Choose Hotel Name" which has a value of "0".

 

The following is my drop-dwon Code in the JSP Page.

 

<html:select name="subregionForm" property="holidexCodes"  multiple="true"
size="4" >

<html:option value="0">

Choose Hotel Name

</html:option> 

<html:options name="holidexCodeVector" /> 

</html:select>

 

Is this a known bug in IE.

 

Thanks.

 

Chetan

 

 

 

 

Reply via email to