ICEmobile
  1. ICEmobile
  2. MOBI-700

Leverage ICEfaces Resource Coalescing

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4 Beta
    • Fix Version/s: EE 1.3.1.GA_P01
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a
    • Support Case References:
      00012961

      Description

      We need to leverage the new Resource Coalescing available in ICEfaces 3.3 to reduce our JavaScript and CSS requests.

        Issue Links

          Activity

          Philip Breau created issue -
          Philip Breau made changes -
          Field Original Value New Value
          Link This issue depends on ICE-9213 [ ICE-9213 ]
          Philip Breau made changes -
          Assignee Steve Maryka [ steve.maryka ] User Philip.breau [ philip.breau ]
          Hide
          Philip Breau added a comment -

          <mobi:deviceResource> will need to be updated to create resource components rather than rendering links directly. One issue appears to be that the deviceResource is a single component that only creates links and script tags during the render phase, whereas the Resource Coalescing appears to take affect in the preRender event of the UIViewRoot, which happens before this.

          Show
          Philip Breau added a comment - <mobi:deviceResource> will need to be updated to create resource components rather than rendering links directly. One issue appears to be that the deviceResource is a single component that only creates links and script tags during the render phase, whereas the Resource Coalescing appears to take affect in the preRender event of the UIViewRoot, which happens before this.
          Philip Breau made changes -
          Link This issue duplicates MOBI-874 [ MOBI-874 ]
          Philip Breau made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #42077 Wed Aug 06 11:52:57 MDT 2014 philip.breau MOBI-700
          Leverage ICEfaces Resource Coalescing
          - change DeviceResourceRenderer to create an OutputStyleSheet component for the theme, which can then participate in proper ICEfaces resource handling and be specified in the resource-dependency.xml file
          - added sample resource-dependency.xml to showcase
          Files Changed
          Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/resources/META-INF/resource-dependency.xml
          Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/resources/META-INF
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
          Hide
          Philip Breau added a comment -

          Resource coalescing still was not working due to missing an OutputStylesheet component.

          Show
          Philip Breau added a comment - Resource coalescing still was not working due to missing an OutputStylesheet component.
          Philip Breau made changes -
          Resolution Duplicate [ 3 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Philip Breau made changes -
          Support Case References 00012961
          Hide
          Philip Breau added a comment -

          Revision: 42077
          Author: philip.breau
          Date: August-06-14 2:52:57 PM
          Message:
          MOBI-700
          Leverage ICEfaces Resource Coalescing

          • change DeviceResourceRenderer to create an OutputStyleSheet component for the theme, which can then participate in proper ICEfaces resource handling and be specified in the resource-dependency.xml file
          • added sample resource-dependency.xml to showcase

            Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
            Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java
            Added : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/resources/META-INF
            Added : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/resources/META-INF/resource-dependency.xml

          Show
          Philip Breau added a comment - Revision: 42077 Author: philip.breau Date: August-06-14 2:52:57 PM Message: MOBI-700 Leverage ICEfaces Resource Coalescing change DeviceResourceRenderer to create an OutputStyleSheet component for the theme, which can then participate in proper ICEfaces resource handling and be specified in the resource-dependency.xml file added sample resource-dependency.xml to showcase Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java Added : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/resources/META-INF Added : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/resources/META-INF/resource-dependency.xml
          Philip Breau made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Philip Breau made changes -
          Link This issue blocks MOBI-1084 [ MOBI-1084 ]
          Philip Breau made changes -
          Fix Version/s EE 1.3.1.GA_P01 [ 11670 ]

            People

            • Assignee:
              Philip Breau
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: