Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Final
    • Fix Version/s: 1.2 Beta
    • Component/s: Faces, Spring
    • Labels:
      None
    • Environment:
      ICEmobile

      Description


      A deviceResource tag can expand on the functionality of deviceStylesheet to support more automated setup of resources and other page configuration. This tag/component is always placed within the head section.

      This includes:

      - ordered stylesheets
      - ordered javascript
      - meta tags for page resizing and scrolling
      - meta tags for Smart Banners or other app installation prompts

      The initial phase will be to support those resources required by ICEmobile, but an extension mechanism will also allow 3rd party resources to be automatically included or configured.

        Activity

        Hide
        Ted Goddard added a comment - - edited

        Attributes can be defined to configure the component, although defaults should almost always be sufficient.
        For instance installPrompt=false (defaults to true) would disable the automated prompt for installation of ICEmobile-SX. When true, this would set a page context variable so that getEnhanced will not perform additional prompting (if supported on the particular device: on iOS 5 devices, getEnhanced would still prompt, whereas on iOS 6, getEnhanced would not prompt if deviceResource used the meta tag).

        Show
        Ted Goddard added a comment - - edited Attributes can be defined to configure the component, although defaults should almost always be sufficient. For instance installPrompt=false (defaults to true) would disable the automated prompt for installation of ICEmobile-SX. When true, this would set a page context variable so that getEnhanced will not perform additional prompting (if supported on the particular device: on iOS 5 devices, getEnhanced would still prompt, whereas on iOS 6, getEnhanced would not prompt if deviceResource used the meta tag).
        Hide
        Philip Breau added a comment - - edited

        Revision: 31243
        Author: philip.breau
        Date: October-01-12 7:33:00 PM
        Message:
        MOBI-350 Extended <mobi:deviceResource>
        generate smart app banners for ios 6
        do not generate apple meta tags for non-ios devices
        auto-include icepush if specified
        auto-generate fav-icon links
        auto-generate content type
        coordinate rendering of download and enable links with <mobi:getEnhanced>
        add js marker to icemobile.js


        Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/BaseSimpleTag.java
        Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/DeviceResourceTag.java
        Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/GetEnhancedTag.java
        Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagUtil.java
        Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagWriter.java
        Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/util/Constants.java
        Modified : /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld
        Modified : /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/web-resources/javascript/icemobile.js
        Revision: 31244
        Author: philip.breau
        Date: October-01-12 7:34:10 PM
        Message:
        MOBI-350 Extended <mobi:deviceResource>


        Modified : /icemobile/trunk/icemobile/samples/mvc-mediacast/src/main/webapp/WEB-INF/jsp/contest-head.jsp

        Show
        Philip Breau added a comment - - edited Revision: 31243 Author: philip.breau Date: October-01-12 7:33:00 PM Message: MOBI-350 Extended <mobi:deviceResource> generate smart app banners for ios 6 do not generate apple meta tags for non-ios devices auto-include icepush if specified auto-generate fav-icon links auto-generate content type coordinate rendering of download and enable links with <mobi:getEnhanced> add js marker to icemobile.js Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/BaseSimpleTag.java Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/DeviceResourceTag.java Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/GetEnhancedTag.java Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagUtil.java Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagWriter.java Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/util/Constants.java Modified : /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld Modified : /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/web-resources/javascript/icemobile.js Revision: 31244 Author: philip.breau Date: October-01-12 7:34:10 PM Message: MOBI-350 Extended <mobi:deviceResource> Modified : /icemobile/trunk/icemobile/samples/mvc-mediacast/src/main/webapp/WEB-INF/jsp/contest-head.jsp

          People

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

            Dates

            • Created:
              Updated:
              Resolved: