How to get RichFaces to not crash Safari

RichFaces, a collection of open source JSF Components for building “rich” AJAXy interfaces, unfortunately makes Safari crash or hang or lock up with many of it’s components.

I’m not the one who figured this out, but I wanted to document it here.

You can solve this the same way you solve the JSF/Google Ad issue:

Add this just before the tag on your .xhtml pages or template file:


4 thoughts on “How to get RichFaces to not crash Safari

  1. i’m having issues in combination with javascript generated in AJAX request. on the first request, the content type is text/html en the generated javascript is than not put inside a CDATA block (which is an xml thing).

    after an AJAX requests, i get errors on firefox, as the contentType of the response is set to text/xml but the javascript is NOT put inside a CDATA block.

    to fix this, i guess the javascript code should be put inside a CDATA block or the AJAX response content type should be text/html to.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>