ICEfaces
  1. ICEfaces
  2. ICE-6675

Checkbox (<h:selectBooleanCheckbox>) doesn't work in IE9

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      IE9

      Description

      In ace-showcase the "Date Time Entry" page contains two checkbox (<h:selectBooleanCheckbox>). The "Render as popup" checkbox works only on first uncheck. Afterwards, with every click, the check mark just flashes and disappears.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24192 Thu Mar 17 16:37:26 MDT 2011 mircea.toma ICE-6675 Update the patched JSF libraries.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/lib/jsf-api.jar
        Commit graph MODIFY /icefaces2/trunk/icefaces/lib/jsf-impl.jar
        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Link This issue blocks ICE-6640 [ ICE-6640 ]
        Hide
        Mircea Toma added a comment -

        The state of the checkbox is not toggled correctly because the input element representing the checkbox is not properly serialized. In all the other browsers when input's 'value' attribute is not defined the browser will use the 'on' string as the default value. In IE9 the value returned is the empty string even when the checkbox is selected. The h:selectBooleanCheckbox renderer considers the checkbox selected only when the received value equals 'yes', true' or 'on', since IE9 sends an empty string the renderer won't toggle the state of the checkbox component.

        Show
        Mircea Toma added a comment - The state of the checkbox is not toggled correctly because the input element representing the checkbox is not properly serialized. In all the other browsers when input's 'value' attribute is not defined the browser will use the 'on' string as the default value. In IE9 the value returned is the empty string even when the checkbox is selected. The h:selectBooleanCheckbox renderer considers the checkbox selected only when the received value equals 'yes', true' or 'on', since IE9 sends an empty string the renderer won't toggle the state of the checkbox component.
        Hide
        Mircea Toma added a comment -

        Changed jsf.js in JSF 2.1.1-b02 to use the 'on' string as the default value for a selected checkbox in case the value of the 'value' attribute is the empty string.

        Show
        Mircea Toma added a comment - Changed jsf.js in JSF 2.1.1-b02 to use the 'on' string as the default value for a selected checkbox in case the value of the 'value' attribute is the empty string.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mircea Toma added a comment -

        Updated also the patched JSF libraries in 'lib' directory.

        Show
        Mircea Toma added a comment - Updated also the patched JSF libraries in 'lib' directory.
        Hide
        Mircea Toma added a comment -

        Recorded issue in JSF bug tracking system: http://java.net/jira/browse/JAVASERVERFACES-2004

        Show
        Mircea Toma added a comment - Recorded issue in JSF bug tracking system: http://java.net/jira/browse/JAVASERVERFACES-2004
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: