ICEfaces
  1. ICEfaces
  2. ICE-10745

valueChangeListener firing by another ice component partialSubmit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: EE-3.3.0.GA_P03
    • Fix Version/s: EE-3.3.0.GA_P04
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      jsf 2 icefaces 3.3 compat

      Description

      see the attached sample application. When compat components are on the same form and both have partialSubmit="true", the valueChangeListener is firing when it is not the capturing component.
      In the example:
                <ice:selectOneMenu id="menu1" value="#{testBean.menuValue}"
                       valueChangeListener="#{testBean.valueChangeMethod}"
                       partialSubmit="true">
                      <f:selectItem itemLabel="Value 1" itemValue="1"/>
                      <f:selectItem itemLabel="Value 2" itemValue="2"/>
                      <f:selectItem itemLabel="Value 3" itemValue="3"/>
                  </ice:selectOneMenu>

                  <ice:selectBooleanCheckbox id="chk1" value="#{testBean.radioBool}" partialSubmit="true">
                      
                  </ice:selectBooleanCheckbox>
      ...
      are in the same form. On initial page load, the submit of the checkbox will fire the valueChangeListener of the selectOneMenu (and it should not).
      The customer is stating that this is happening quite often for them (the test case, it only happens on page load), but hopefully fixing this test case will also fix the customer's issue.

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Attachment 13463.zip [ 20181 ]
        Judy Guglielmin made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Assignee Priority P1 [ 10010 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: