-
1. RichFaces - JavaScript error in IE8
boy18nj Feb 4, 2011 10:56 AM (in response to nraf)Hi Nraf,
I'm not exactly sure about the error, but you could try this if it helps-
In I.E under Advanced > Browsing > Display a notification sbout every script error (Uncheck this option)
-
2. RichFaces - JavaScript error in IE8
nraf Feb 4, 2011 7:52 PM (in response to boy18nj)It's ulready unchecked. From what I've been able to gather (at least what I think is going on), XMLSerializer seems to be working in many cases, however, for this specific instance it is failing. My solution has been to wrap the statement in a try...catch block but I haven't had any success in replicating the serializeToString function.
Is there anything else I could use to replicate the function when it fails? I'm assuming it could be a bug with the IE implementation given that it seems to be working fine on FF, Chrome and Opera.
-
3. RichFaces - JavaScript error in IE8
boy18nj Feb 5, 2011 10:16 AM (in response to nraf)Yes it is quite possible, it could be bug in the code. Given my experience most of the times Chrome, FF works for me like a charm, but it do fails in I.E.
I would suggest you to alter your code the way it is currently being used which may help you to bypass the bug.
Please post your code.
-
4. RichFaces - JavaScript error in IE8
nbelaevski Feb 6, 2011 7:16 AM (in response to boy18nj)Hi,
Try another parser, e.g. NEKO or TIDY.
-
5. Re: RichFaces - JavaScript error in IE8
nraf Feb 6, 2011 4:55 PM (in response to nbelaevski)Thanks for the response Nick. Could you elaborate as to your meaning? Where exactly would these parsers come into play?
-
6. RichFaces - JavaScript error in IE8
ilya_shaikovsky Feb 7, 2011 7:55 AM (in response to nraf)Them are performing corrections of markup encoded in Ajax response. Some even standard h:* tags contains minor inconsistencies with the html spec so could potentially cause ajax request failures. Them working fine without Ajax because the browser perform some corrections on common requests and in case of ajax request - browser does not corrects the response.
-
7. RichFaces - JavaScript error in IE8
nraf Feb 7, 2011 5:02 PM (in response to ilya_shaikovsky)Yup, that was the issue. I had some issues with the markup that IE didn't like (for example, a couple of li's without an enclosing ul). A few small changes and it's working fine.
-
8. Re: RichFaces - JavaScript error in IE8
girionis Aug 30, 2011 7:51 AM (in response to nraf)I had the same issue. The problem was that I included a form within a form. As soon as I got rid of it it worked.
-
9. Re: RichFaces - JavaScript error in IE8
geo5318 Jul 23, 2012 6:53 AM (in response to girionis)Thanks Panos!! It was helpful for me! I had had the same problem! Now all works fine!
-
10. Re: RichFaces - JavaScript error in IE8
udaykiran.pulipati May 7, 2013 1:59 AM (in response to nraf)I solved this issue by replacing h:commanLink component with a4j:commandLink component