ICEfaces
  1. ICEfaces
  2. ICE-5731

IE does not clone input element state

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      IE6, IE7

      Description

      When using ice.se function for submitting an element IE does not serialize properly the state of the checkbox. It appears like the checkbox is always unchecked.

        Activity

        Hide
        Mircea Toma added a comment -

        It seems that IE does not properly clone the state of the 'input' or 'select' elements. ice.se fails to work because it uses Element.cloneNode() method to copy the node into the form used by single submit.

        The fix copies the element to be submitted by using Element.innerHTML function in IE instead of Element.cloneNode.

        See also: http://blog.pengoworks.com/index.cfm/2007/7/16/IE6--IE7-quirks-with-cloneNode-and-form-elements

        Show
        Mircea Toma added a comment - It seems that IE does not properly clone the state of the 'input' or 'select' elements. ice.se fails to work because it uses Element.cloneNode() method to copy the node into the form used by single submit. The fix copies the element to be submitted by using Element.innerHTML function in IE instead of Element.cloneNode. See also: http://blog.pengoworks.com/index.cfm/2007/7/16/IE6--IE7-quirks-with-cloneNode-and-form-elements

          People

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

            Dates

            • Created:
              Updated:
              Resolved: