ICEmobile
  1. ICEmobile
  2. MOBI-874

mobi:deviceResource should render link element as a JSF Resource

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Final
    • Fix Version/s: EE 1.3.1.GA
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description

      The current mobi:theme and mobi:deviceResource components render a simple link tag for the device stylesheet. This does not take advantage of the ICEfaces 3 coalescing resources functionality, which depends on the resources existing in the component tree to be inspected.

        Issue Links

          Activity

          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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: