Details
Description
Significant changes to Liferay in the 5.2.1 have made it so that ICEfaces doesn't appear to work.
Activity
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8RC1 [ 10143 ] | |
Affects | [Compatibility/Configuration] | |
Assignee Priority | P1 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyler Johnson
made changes -
Salesforce Case | [50070000007yA9i] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P1 |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Basically two issues holding things up:
1) The directory structure when you unzip the bundle has changed. The app server directory and the deploy directory are now both inside the main installation directory. This changes the path for starting the app server:
[install.dir]/tomcat-6.0.18/bin (or whatever app server you're bundled with)
as well as where portlet .war files are hot-deployed:
[install.dir]/deploy (rather than [user.dir]/liferay/deploy)
2) It appears that we have a problem with doubly compressed JavaScript (again? I thought we ran into this previously but couldn't find a JIRA). In order to get Component Showcase portlets running, I had to add the following context parameter.
<context-param>
<param-name>com.icesoft.faces.compressResources</param-name>
<param-value>false</param-value>
</context-param>
This means that we aren't compressing the resources we normally would. The reason this is necessary is that, as part of the hot deploy, Liferay now injects a bunch of filters into the deployed web.xml as well including:
...
<filter>
<filter-name>GZip Filter</filter-name>
<filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>
<init-param>
<param-name>filter-class</param-name>
<param-value>com.liferay.portal.servlet.filters.gzip.GZipFilter</param-value>
</init-param>
</filter>
...
<filter-mapping>
<filter-name>GZip Filter</filter-name>
<url-pattern>*.js</url-pattern>
</filter-mapping>
...
There may be a way to turn these filters on/off selectively for the portlet, but it's probably easier at this point to simply turn off our compression. So bottom line is that it should possible to get ICEfaces portlets running with Liferay 5.2.1.