Ajax request issue in IE9 using Richfaces 3.3.3 Final
Tempororily i resolve the problem by replacing the below lines. It works fine.
Find the file AJAX.js in richfaces-impl.jar
Location : /org/ajax4jsf/javascript/scripts/AJAX.js
line number 1398
oldnode.outerHTML = new XMLSerializer().serializeToString(newnode);
and replace it by
if (typeof window.XMLSerializer != "undefined")
{
oldnode.outerHTML = new XMLSerializer().serializeToString(newnode);
}
else if (typeof xmlNode.xml != "undefined")
{
oldnode.outerHTML = xmlNode.xml;
}
line number 1627
dst.setAttribute(attr,value);
and replace by adding try, catch
try
{
dst.setAttribute(attr, value);
}
catch (err)
{
//alert('Error');
}
(or)
make a copy of AJAX.js file and modified the above lines and include this file into your main page that will replace the old one.
Trouble with Richfaces and IE 10 & 11
The value for meta should be IE=EmulateIE8
and it should appear close to the top of the document.
More reliable way of doing it is to set Response Header. Refer to this answer: https://stackoverflow.com/a/7326359/854386
IE11 Changes DOM structure on JSF rerender
Have you tried setting a meta tag for IE8 rendering mode:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
As I have heard also RichFaces 3 only supports up to Internet Explorer 8
, or you might consider switching to RichFaces 4 for current browser support.
Microsoft: how to ensure compatibility
Hope this helps.
Richfaces Custom Component Renderer Problem
Ok I've found the problem, it is with the facelets.REFRESH_PERIOD, this property if with positive value will make the ui tree to be rebuilt with every request from the original document (calling facelets refresh method)
so the solution was to disable that property with setting it to -1
Related Topics
Tint Image Using CSS Without Overlay
How Is "Grid-Template-Rows: Auto Auto 1Fr Auto" Interpreted
Chrome:How to Turn Off User Agent Stylesheet Settings
CSS List Item Width/Height Does Not Work
How to Match 3D Perspective of Real Photo and Object in CSS3 3D Transforms
Rounded Side, Not Rounded Corners
How to Style the Number on a HTML List
What Is Caret Symbol ^ Used for in CSS When Selecting Elements
Table Border Color in CSS with Border Collapse
Css: Background Image Does Not Fill When Scrolling
Webkit Transform Blocking Link
Bootstrap 3 Align Text to Bottom of Div
When Using @Media Queries, Does a Phone Load Non-Relevent Queries and Images
Is Vertical Text-Overflow Possible with CSS3
Delay Mouseout/Hover with CSS3 Transitions