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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Arran Mccullough made changes -
        Affects Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Affects Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Arran Mccullough made changes -
        Support Case References Support Case #13261 - https://icesoft.my.salesforce.com/5007000000zQIqo Support Case #13505 - https://icesoft.my.salesforce.com/5007000001JELXq
        Arran Mccullough made changes -
        Description Testing a recent build of the EE 3.3.0 branch I found that when an icecore:singleSubmit tag is on the form the ice:selectOneRadio and ice:selectManyCheckbox, do not show as being selected (the radio and check aren't shown on selection).

        My understanding is that the singeSubmit is only for the standard JSF (h:xxxXxx) and ACE components not the ICE compat components.
        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.
        Arran Mccullough made changes -
        Environment All IE11, Chrome
        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.
        Arran Mccullough made changes -
        Attachment Case13505Example.war [ 20694 ]
        Attachment Case13505Example.zip [ 20695 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        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.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: