GZIP Compression Fails with Richfaces-3.3.3.CR1 release
-------------------------------------------------------
Key: RF-8562
URL: https://jira.jboss.org/jira/browse/RF-8562
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: browser compatibility, performance
Affects Versions: 3.3.3.CR1
Environment: Seam 2.2.0, JSF 1.2, Tomcat 6.0, IE8/Mozilla 3.6.2/Chrome
4.1.249, EHCache 1.5.0
Reporter: Gaurav Saini
Priority: Critical
In my application i have implemented EHCache GZip compression. It is working
perfectly with richfaces-ui-3.3.2.SR1 release.
But once i moved to latest 3.3.3 CR1 release, it stopped working for all AJAX
requests fired from my application screens. The ajax requests reached
properly in my action/action listener methods but while on completion of ajax
request, only the components which are specified in re-render attribute are
rendered on the browser.
The above issue occurs on Mozilla and Goggle Chrome only. Under Mozilla, the JS
of component being re-rendered is printed, on Google chrome only that component
is displayed, all other fields, header, footer
I have used gzipfilter as follows:
<filter>
<filter-name>gzipFilter</filter-name>
<filter-class>net.sf.ehcache.constructs.web.filter.GzipFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>gzipFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
For reference, refer below code. Here in this case I have Calendar control. On
date selection an ajax request is fired to compute a date 15 days earlier from
the selected date. The computed date is then displayed in another Calendar
control field (Expiry Reminder Date).
<rich:calendar id="expirationDate" cellWidth="24px"
datePattern="#{messages['label.date.PATTERN']}" cellHeight="22px"
style="width:200px"
value="#{certificateDetailsDTO.expirationDate}" required="true"
label="#{messages['label.certificatedetails.EXPIRATION_DATE']}" >
<a:support
actionListener="#{certificateBackingBeanImpl.populateExpiryReminderDate}"
event="onchanged"
ajaxSingle="true" reRender="expiryReminderDate" >
<f:attribute
name="expRemCmp" value="mainForm:expiryReminderDateDecId:expiryReminderDate">
</f:attribute>
</a:support>
But as i said earlier, under chrome only the expiryReminderDate calendar
control is dispalyed and under Mozilla the plain JS for that control is
rendered.
For the time being i have reverted to 3.3.2 SR1, but i need to migrate to
3.3.3CR1 because of the fixes provided in that release related to
ExtendedDataTable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues