RichFaces compresses the resources (js, css) by default. Double compression might cause problems. So, turn off RichFaces compression using parameters in the web.xml (see docs for details). Due to the same reason, you should not use the "ALL" strategy for loading RichFaces script and style sheets.
If it does not help, let's know and we will test this case on our side.
It worked!!!! I disabled script compression and changed the compression library (http://sourceforge.net/projects/pjl-comp-filter.)
To disable the script compression I used:
<context-param> <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name> <param-value>false</param-value> </context-param>
Why you changed the compression library? Does the original one still not work?
No, it didn't. It wasnt really a library, I was using the code from this article: http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html. I used <a4j:log /> to track the problem and an error appeared saying that the response had an unknown character. It was the '&' character. Maybe a problem with the encoding or something like this. I don't know.