Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: 2.0.0
-
Component/s: Documentation, Framework
-
Labels:None
-
Environment:ICEfaces 2 portlet portal portletfaces
Description
Currently, caching of various JavaScript files causes problem when running in portlets. The PortletFaces bridge has code to deal with this:
but is only applying this logic to jsf.js and bridge.js. We need to include the other ICEfaces 2 files that can be loaded (icepush.js, compat.js, icefaces-compat.js).
but is only applying this logic to jsf.js and bridge.js. We need to include the other ICEfaces 2 files that can be loaded (icepush.js, compat.js, icefaces-compat.js).
It should be noted that the following context-parameter should be set when running portlets to avoid having some random data appended to the .js file URLs. The cache prevention is handled directly in the PortletFaces bridge for now.
<context-param>
<param-name>org.icefaces.uniqueResourceURLs</param-name>
<param-value>false</param-value>
</context-param>