]
David Baddeley commented on RF-13443:
-------------------------------------
Does this definitely work? I tried overriding AJAX.js with the line above but now the
a4j:jsFunction never finishes the AJAX request (oncomplete doesn't fire)
Rerender after Ajax Request in Internet Explorer 11
---------------------------------------------------
Key: RF-13443
URL:
https://issues.jboss.org/browse/RF-13443
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 3.3.4.Final
Reporter: Osman YĆ¼ksel
Priority: Critical
Fix For: 3.Future
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);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: