ICEfaces
  1. ICEfaces
  2. ICE-3190

selectBooleanCheckbox updates do not reflect rendered html page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: None
    • Labels:
      None
    • Environment:
      Microsoft Windows Vista Bussiness SP1
      Apache Tomcat 5.5

      Description

      After an action is perfomed (with partial submit disabled), cleaning a checkbox is not reflected in the rendered html page.

      The rest of the component seem to work perfectly, except for the selectBooleanCheckbox. Same example using icefaces. 1.6.x works perfect. Same example using icefaces 1.7 and partial submit activated works perfectly.

      See forum post for more details.

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment - - edited

          The selectBooleanCheckbox component does not trigger a form submission when partialSubmit is disabled. If the test case would contain a button for submitting the form the state of the checkbox would be sent to the server and clearing/unchecking the checkbox would work just fine (just try checking the checkbox, hit enter in one of the text input fields, and then hit "Clear" button).
          This is not an issue with the framework, it is more related to the behavior of selectBooleanCheckbox component.

          Show
          Mircea Toma added a comment - - edited The selectBooleanCheckbox component does not trigger a form submission when partialSubmit is disabled. If the test case would contain a button for submitting the form the state of the checkbox would be sent to the server and clearing/unchecking the checkbox would work just fine (just try checking the checkbox, hit enter in one of the text input fields, and then hit "Clear" button). This is not an issue with the framework, it is more related to the behavior of selectBooleanCheckbox component.
          Hide
          Mark Collette added a comment -

          There already was code for handling input values on other types of input components, so that the DOM diff will be able to determine that the application has changed the input value. I just needed to add support for checkboxes, since they use a slightly different mechanism of holding their value.

          Subversion 18091
          icefaces\core\src\com\icesoft\faces\context\BridgeFacesContext.java

          Show
          Mark Collette added a comment - There already was code for handling input values on other types of input components, so that the DOM diff will be able to determine that the application has changed the input value. I just needed to add support for checkboxes, since they use a slightly different mechanism of holding their value. Subversion 18091 icefaces\core\src\com\icesoft\faces\context\BridgeFacesContext.java
          Hide
          Joanne Bai added a comment -

          Confirmed fix on 1.7.2-SP2 build3 (tested on tomcat 6 + FF2 and IE6)

          Show
          Joanne Bai added a comment - Confirmed fix on 1.7.2-SP2 build3 (tested on tomcat 6 + FF2 and IE6)

            People

            • Assignee:
              Unassigned
              Reporter:
              Jacob Alvarez
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: