-
1. Re: GZIP Support
sergeysmirnov Jan 25, 2008 12:23 PM (in response to germanescobar)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. -
2. Re: GZIP Support
germanescobar Jan 25, 2008 5:00 PM (in response to germanescobar)Thanks,
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>
-
3. Re: GZIP Support
sergeysmirnov Jan 25, 2008 5:07 PM (in response to germanescobar)Why you changed the compression library? Does the original one still not work?
-
4. Re: GZIP Support
germanescobar Jan 26, 2008 1:57 PM (in response to germanescobar)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.