ICEfaces
  1. ICEfaces
  2. ICE-3116

SelectManyCheckBox doesn't refresh when items in list are replaced

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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>

        Activity

        Patrick Guerin created issue -
        Hide
        Justin Becker added a comment -

        I am able to reproduce this problem using tomcat with JSF RI impl.

        Show
        Justin Becker added a comment - I am able to reproduce this problem using tomcat with JSF RI impl.
        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 ICE-3116 must be fixed
        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 ICE-3116 </browse/ICE-3116> will be corrected? Or is it fixed already in 1.8?

        Thanks a lot,
        Sebastien
        Joel Krebs made changes -
        Summary ICE-3116 must be fixed 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 ICE-3116 </browse/ICE-3116> will be corrected? Or is it fixed already in 1.8?

        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>
        Hide
        Patrick Guerin added a comment -

        This bug seems to be fixed in versions 1.7.2 SP1 and 1.8 RC2
        Tanks

        Show
        Patrick Guerin added a comment - This bug seems to be fixed in versions 1.7.2 SP1 and 1.8 RC2 Tanks
        Hide
        Stefan Zeller added a comment -

        I could verify it on Tomcat 6.0 and ICEfaces 1.7.2-SP1 and 1.8-RC2. Can the status be changed?

        Show
        Stefan Zeller added a comment - I could verify it on Tomcat 6.0 and ICEfaces 1.7.2-SP1 and 1.8-RC2. Can the status be changed?
        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 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Guerin
          • Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: