ICEfaces
  1. ICEfaces
  2. ICE-10772

CLONE - icecore:singleSubmit - Issue with ICE select components and blockUIOnSubmit=true

    Details

    • Assignee Priority:
      P2
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      If using the ICE components use partialSubmit=true instead of the icecore:singleSubmit tag.

      Or

      Use the standard JSF components with the singleSubmit tag.
      Show
      If using the ICE components use partialSubmit=true instead of the icecore:singleSubmit tag. Or Use the standard JSF components with the singleSubmit tag.

      Description

      This issue was originally resolved with ICE-10463. Now when the blockUIOnSubmit context param is set to true, it is no longer possible to make selections in IE11 and Chrome. Firefox seems to work fine though.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case to reproduce issue. Note: the icefaces.jar, icefaces-ace.jar and icefaces-compat.jar need to be added back into run the war.

        Steps:

        • Load welcomeICEfaces.jsf in IE11 or Chrome
        • Try to click one of the checkboxes or radio buttons. In some cases I could check one, but was not able to make any selections after that.
        Show
        Arran Mccullough added a comment - Attached test case to reproduce issue. Note: the icefaces.jar, icefaces-ace.jar and icefaces-compat.jar need to be added back into run the war. Steps: Load welcomeICEfaces.jsf in IE11 or Chrome Try to click one of the checkboxes or radio buttons. In some cases I could check one, but was not able to make any selections after that.
        Hide
        Mircea Toma added a comment -

        Modified 'compat' components to mark submitting elements as being searchable by their 'id' attribute in renderers that use DOMContext to allow for partial submits that target subtrees to work. Modified DOMPartialViewContext.shouldApplyChange to avoid throwing NPE when element is not found by its ID.
        Modified capture-single-submit.js code to register the IE specific capturing callbacks for IE11 as well. Previously the IE specific code was applied only when Element.attachEvent function was present.

        Show
        Mircea Toma added a comment - Modified 'compat' components to mark submitting elements as being searchable by their 'id' attribute in renderers that use DOMContext to allow for partial submits that target subtrees to work. Modified DOMPartialViewContext.shouldApplyChange to avoid throwing NPE when element is not found by its ID. Modified capture-single-submit.js code to register the IE specific capturing callbacks for IE11 as well. Previously the IE specific code was applied only when Element.attachEvent function was present.
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces ee-3.3.0 maintenance branch r46028. Verified with IE 11, 8, 7,Chrome 45 and FF 34.
        When testing with IE 10 and 9 the checkbox and radioButtons still do not appear selected after clicking on them.

        Show
        Liana Munroe added a comment - Tested with ICEfaces ee-3.3.0 maintenance branch r46028. Verified with IE 11, 8, 7,Chrome 45 and FF 34. When testing with IE 10 and 9 the checkbox and radioButtons still do not appear selected after clicking on them.
        Hide
        Mircea Toma added a comment -

        Modified test in capture-single-submit.js which ensures that the callbacks destined for IE are setup for all its the versions, IE9 included.

        Show
        Mircea Toma added a comment - Modified test in capture-single-submit.js which ensures that the callbacks destined for IE are setup for all its the versions, IE9 included.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-3.3.0 maintenance branch r46929. Tomcat 8, IE 11, 10 9, 8, 7, FF 43, Chrome 47

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-3.3.0 maintenance branch r46929. Tomcat 8, IE 11, 10 9, 8, 7, FF 43, Chrome 47

          People

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

            Dates

            • Created:
              Updated:
              Resolved: