Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13443

Rerender after Ajax Request in Internet Explorer 11

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Out of Date
    • Affects Version/s: 3.3.4.Final
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      By using a4j:Funtcion in combination with "rerender" this is not working on Internet Explorer 11. The problem ist, that after Ajax-Request the Result in XML can not be correct append to the body. (Affects in version 3.3.4 Final)

      Reason is simple:
      Microsoft has changed the User-Agent for Internet Explorer 11
      Before:
      IE10: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

      Now:
      IE11: Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko

      Details: http://msdn.microsoft.com/en-us/library/ie/bg182625(v=vs.85).aspx

      In richfaces-imp.jar there is the AJAX.js-File wich rerender the result ofthe Ajax-Request. Here is also Sarissa to identify the Browser.
      Because of missing "msie", Sarissa can not identifiy an Internet Explorer 11 as an Internet Explorer.

      That means, tha AJAX.js in "richfaces-imp/ort/ajax4jsf/javascript/scripts" has to be modify.
      Before:
      Sarissa._SARISSA_IS_IE = document.all && window.ActiveXObject && navigator.userAgent.toLowerCase().indexOf("msie") > -1 && navigator.userAgent.toLowerCase().indexOf("opera") == -1

      Now:
      Sarissa._SARISSA_IS_IE = (document.all && window.ActiveXObject && navigator.userAgent.toLowerCase().indexOf("msie") > -1 && navigator.userAgent.toLowerCase().indexOf("opera") == -1) || (navigator.userAgent.toLowerCase().indexOf("like gecko") > -1 && navigator.userAgent.toLowerCase().indexOf("11.") > -1);

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                OsmanY84 Osman Yüksel
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: