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

          Jacob Alvarez created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.8DR#2 [ 10142 ]
          Ken Fyten made changes -
          Summary selectBooleanCheckbox updates do not reflect y rendered html page selectBooleanCheckbox updates do not reflect rendered html page
          Adnan Durrani made changes -
          Link This issue depends on ICE-3615 [ ICE-3615 ]
          Deryk Sinotte made changes -
          Assignee Mircea Toma [ mircea.toma ]
          Deryk Sinotte made changes -
          Salesforce Case []
          Assignee Priority P2
          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.
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Mircea Toma [ mircea.toma ] Mark Collette [ mark.collette ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18091 Thu Dec 18 17:33:07 MST 2008 mark.collette ICE-3190 : selectBooleanCheckbox updates do not reflect rendered html page
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
          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
          Mark Collette made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Paul Hanneman made changes -
          Link This issue blocks ICE-3945 [ ICE-3945 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Assignee Priority P2
          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)
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Mark Collette [ mark.collette ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: