Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:JBoss 4.2.2GA
Description
I have a SelectManyCheckBox with a list of SelectItem.
If I replace the items in this list by newer items and if the number of the old items is equals to the number of the new items, the component is not refreshed and the old item is always shown.
It work fine if the newer items number is different of the older item number.
<ice:selectManyCheckbox
valueChangeListener="#{myController.roleSelectListener}"
layout="pageDirection"
value="#{myController.selectedRoleItems}"
partialSubmit="true">
<f:selectItems id="SelectItems"
value="#{myController.itemsList}" />
</ice:selectManyCheckbox>
If I replace the items in this list by newer items and if the number of the old items is equals to the number of the new items, the component is not refreshed and the old item is always shown.
It work fine if the newer items number is different of the older item number.
<ice:selectManyCheckbox
valueChangeListener="#{myController.roleSelectListener}"
layout="pageDirection"
value="#{myController.selectedRoleItems}"
partialSubmit="true">
<f:selectItems id="SelectItems"
value="#{myController.itemsList}" />
</ice:selectManyCheckbox>
I am able to reproduce this problem using tomcat with JSF RI impl.