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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21435 Mon May 17 16:38:16 MDT 2010 mircea.toma ICE-5731 Copy element to be submitted by using Element.innerHTML function in IE instead of Element.cloneNode.
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/submit.js
        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0-Alpha3 [ 10032 ]
        Assignee Mircea Toma [ mircea.toma ]
        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
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Summary IE does not serialize input element state IE does not clone input element state
        Salesforce Case []
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: