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>
Activity
Patrick Guerin
created issue -
Joel Krebs
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [50070000008IzLo] |
Joel Krebs
made changes -
Summary | SelectManyCheckBox doesn't refresh when items in list are replaced |
|
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> |
Thanks a lot for the fast reply, our team will test it. One last question, do you know when Thanks a lot, Sebastien |
Joel Krebs
made changes -
Summary |
|
SelectManyCheckBox doesn't refresh when items in list are replaced |
Description |
Thanks a lot for the fast reply, our team will test it. One last question, do you know when Thanks a lot, Sebastien |
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> |
Stefan Zeller
made changes -
Assignee | Tyler Johnson [ tyler.johnson ] |
Tyler Johnson
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Tyler Johnson [ tyler.johnson ] |
I am able to reproduce this problem using tomcat with JSF RI impl.