ICEfaces
  1. ICEfaces
  2. ICE-6407

Inconsistent caching of JavaScript files with portlets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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).

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23643 Mon Dec 20 09:58:39 MST 2010 deryk.sinotte ICE-6407: custom build of bridge to include a couple of fixes for ICEfaces 2.0 GA
        Files Changed
        Commit graph DEL /icefaces2/trunk/icefaces/lib/portlets/portletfaces-bridge-2.0.0-BETA3.jar
        Commit graph ADD /icefaces2/trunk/icefaces/lib/portlets/portletfaces-bridge-2.0.0-BETA3a.jar
        Deryk Sinotte created issue -
        Hide
        Deryk Sinotte added a comment -

        The code has been changed in the PortletFaces Bridge but we don't have an official release from Neil so we'll be building and shipping our own with the changes included:

        Show
        Deryk Sinotte added a comment - The code has been changed in the PortletFaces Bridge but we don't have an official release from Neil so we'll be building and shipping our own with the changes included:
        Deryk Sinotte made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0.0 [ 10230 ]
        Assignee Priority P1
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Hide
        Deryk Sinotte added a comment -

        The related JIRA in the PortletFaces Bridge system is: http://jira.portletfaces.org/browse/BRIDGE-48.

        The updated release will be called portletfaces-bridge-2.0.0-BETA3a.jar.

        Show
        Deryk Sinotte added a comment - The related JIRA in the PortletFaces Bridge system is: http://jira.portletfaces.org/browse/BRIDGE-48 . The updated release will be called portletfaces-bridge-2.0.0-BETA3a.jar.
        Deryk Sinotte made changes -
        Salesforce Case []
        Hide
        Deryk Sinotte added a comment -

        Checked in the custom build.

        Show
        Deryk Sinotte added a comment - Checked in the custom build.
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Deryk Sinotte added a comment -

        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>

        Show
        Deryk Sinotte added a comment - 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>
        Deryk Sinotte made changes -
        Salesforce Case []
        Component/s  Documentation [ 10018 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23645 Mon Dec 20 11:18:35 MST 2010 deryk.sinotte ICE-6407: prevent caching of standard .js files when running portlets
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/samples/ace/showcase/src/portlets/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces2/trunk/icefaces/samples/core/portlets/chat/src/main/webapp/WEB-INF/web.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23658 Mon Dec 20 17:10:48 MST 2010 deryk.sinotte ICE-6407: patch to fix lost URL attributes causing various portlet issues with Set Event Phase, Panel Divider, and Auto Complete components
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/lib/portlets/portletfaces-bridge-2.0.0-BETA3a.jar
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: