ICEfaces
  1. ICEfaces
  2. ICE-9263

Resource coalescing does not work in a portlet environment

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Portlet portal resource coalescing
    • Assignee Priority:
      P3
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Turn off resource coalescing for portlets. It's off by default but you can set it using:


      <context-param>
          <param-name>org.icefaces.coalesceResources</param-name>
          <param-value>false</param-value>
      </context-param>
      Show
      Turn off resource coalescing for portlets. It's off by default but you can set it using: <context-param>     <param-name>org.icefaces.coalesceResources</param-name>     <param-value>false</param-value> </context-param>

      Description

      Resource coalescing in a portlet environment does not behave as intended. Turning on the context parameter to enable resource coalescing and running the showcase-portlet example in Liferay results in the following errors being logged to the console:

      21:58:19,746 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.css.xhtml] libraryName=[ice.core] contentType=[null]

      21:58:19,885 ERROR [MissingResourceImpl:78] Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@10652a37] was unable to create a resource for resourceName=[coalesced.js.xhtml] libraryName=[ice.core] contentType=[null]

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: