ICEmobile
  1. ICEmobile
  2. MOBI-318

mobi:getEnhanced for warning message and container download

    Details

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

      Description

      This component would replace markup like the following:

                     <ui:fragment rendered="#{not mediaController.enhancedBrowser}">

                          <mobi:icemobilesx/>

      with

      <mobi:getEnhanced/>

      which by default will render

      ICEmobile container was not detected, native
      device integration will not be available.
      [Download] the ICEmobile Container.

      With the download link customized to the detected platform.

      To customize, a facet is available for each detected platform:

      <mobi:getEnhanced downloadLink="false">
        You need the container.
        <facet name="android">
        An Android container can be downloaded from Play.
        </facet>
      </mobi:getEnhanced>

        Activity

        Ted Goddard created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30923 Tue Sep 18 18:08:39 MDT 2012 philip.breau MOBI-318 mobi:getEnhanced for warning message and container download

        jsp tag
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/resources/themes/base/get-enhanced.css
        Commit graph ADD /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagWriter.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld
        Commit graph ADD /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/GetEnhancedTag.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagUtil.java
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/_base.css
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/mobisx/IceMobileSXMeta.java
        Commit graph ADD /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/BaseSimpleTag.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30925 Tue Sep 18 19:37:21 MDT 2012 philip.breau MOBI-318 mobi:getEnhanced for warning message and container download

        jsf component
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhancedMeta.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhanced.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/Utils.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhancedRenderer.java
        Hide
        Philip Breau added a comment - - edited

        <mobi:getEnhanced> JSP tag checked in:
        Will render the the following markup by default for ios:
        <span class="mobi-getenhanced">ICEmobile container was not detected, native device integration will not be available. <a href="http://itunes.apple.com/us/app/icemobile-sx/id485908934?mt=8">Download</a> the ICEmobile Container.</span>
        First the device is detected. If an android, ios, or blackberry device is detected, and the the browser is not currently 'enhanced' (detected by the HYPERBROWSER cookie), then the markup is rendered. If not, nothing is rendered. iTunes, Play, or BlackBerry App World links are displayed when an associated device is detected.
        The user can set 'includeLink' to false, in which case the link will not be rendered, leaving only the following markup:
        <span class="mobi-getenhanced">ICEmobile container was not detected, native device integration will not be available. </span>
        The user can also set the following attributes to override the generic message:

        • androidMsg
        • iosMsg
        • blackberryMsg
          Revision: 30923
          Author: philip.breau
          Date: September-18-12 9:08:39 PM
          Message:
          MOBI-318 mobi:getEnhanced for warning message and container download
          jsp tag

          Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/mobisx/IceMobileSXMeta.java
          Added : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/BaseSimpleTag.java
          Added : /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
          Added : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagWriter.java
          Modified : /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld
          Modified : /icemobile/trunk/icemobile/resources/themes/base/_base.css
          Added : /icemobile/trunk/icemobile/resources/themes/base/get-enhanced.css

        Show
        Philip Breau added a comment - - edited <mobi:getEnhanced> JSP tag checked in: Will render the the following markup by default for ios: <span class="mobi-getenhanced">ICEmobile container was not detected, native device integration will not be available. <a href="http://itunes.apple.com/us/app/icemobile-sx/id485908934?mt=8">Download</a> the ICEmobile Container.</span> First the device is detected. If an android, ios, or blackberry device is detected, and the the browser is not currently 'enhanced' (detected by the HYPERBROWSER cookie), then the markup is rendered. If not, nothing is rendered. iTunes, Play, or BlackBerry App World links are displayed when an associated device is detected. The user can set 'includeLink' to false, in which case the link will not be rendered, leaving only the following markup: <span class="mobi-getenhanced">ICEmobile container was not detected, native device integration will not be available. </span> The user can also set the following attributes to override the generic message: androidMsg iosMsg blackberryMsg Revision: 30923 Author: philip.breau Date: September-18-12 9:08:39 PM Message: MOBI-318 mobi:getEnhanced for warning message and container download jsp tag Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/mobisx/IceMobileSXMeta.java Added : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/BaseSimpleTag.java Added : /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 Added : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagWriter.java Modified : /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld Modified : /icemobile/trunk/icemobile/resources/themes/base/_base.css Added : /icemobile/trunk/icemobile/resources/themes/base/get-enhanced.css
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31004 Sat Sep 22 18:46:09 MDT 2012 philip.breau MOBI-318 getenhanced
        - make the message a little more positive
        - add mobi-button styling to the link
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/GetEnhancedTag.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhanced.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhancedRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31009 Sat Sep 22 18:58:19 MDT 2012 philip.breau MOBI-318 getenhanced
        - add more styling
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/0_get-enhanced.css
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31017 Sun Sep 23 21:48:18 MDT 2012 philip.breau MOBI-318 getenhanced
        render mobilesx registration button for ios
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/GetEnhancedTag.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagUtil.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31022 Mon Sep 24 09:06:58 MDT 2012 philip.breau MOBI-318 getenhanced
        - remove phantom import
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/GetEnhancedTag.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31087 Wed Sep 26 11:29:40 MDT 2012 ted.goddard Enable ICEmobile-SX for getEnhanced JSF component (MOBI-318)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhanced.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhancedRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31096 Wed Sep 26 12:55:49 MDT 2012 philip.breau MOBI-318 getenhanced
        add enable mobile sx to the jsf comp
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/Utils.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhancedRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31098 Wed Sep 26 12:57:00 MDT 2012 philip.breau MOBI-318 getenhanced
        more spacing
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/0_get-enhanced.css
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31111 Wed Sep 26 16:13:06 MDT 2012 ted.goddard removing duplicated getEnhanced enable for ICEmobile-SX (MOBI-318)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhancedRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31342 Sat Oct 06 11:36:10 MDT 2012 philip.breau MOBI-327 Shared Core Module
        update JSF comps for shared code base
        MOBI-318 mobi:getEnhanced for warning message and container download
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/pagepanel/PagePanelRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/panelconfirmation/PanelConfirmationRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/video/VideoCaptureRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/thumbnail/ThumbnailRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/menubutton/MenuButtonItemRenderer.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/MobiJSFUtils.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentstackmenu/ContentStackMenuRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/Utils.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceMeta.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/uploadhelper/UploadHelper.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/tabset/TabSet.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/stylesheet/DeviceStyleSheetRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/submitnotification/SubmitNotificationRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentstack/ContentStackRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentmenuitem/ContentMenuItemRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/button/CommandButtonRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentpane/ContentPaneRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/viewselector/ViewSelectorRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/scan/ScanRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/mobisx/IceMobileSXRenderer.java
        Commit graph DEL /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/UserAgentInfo.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/microphone/MicrophoneRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/audio/AudioRenderer.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResource.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/java/org/icefaces/mobile/DateBean.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/timespinner/TimeSpinnerRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/ajax/AjaxBehaviorRenderer.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/renderkit/BaseResourceRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/menubutton/MenuButtonRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/panelpopup/PanelPopupRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/getenhanced/GetEnhancedRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/splitpane/SplitPaneRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/video/VideoPlayerRenderer.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/JSFUtils.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/MobiJSFConstants.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/tabset/TabSetRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/accordion/AccordionRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/carousel/CarouselRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/viewselector/ViewSelectorHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31343 Sat Oct 06 11:37:57 MDT 2012 philip.breau MOBI-318 mobi:getEnhanced for warning message and container download
        MOBI-349 Support for Smart App Banners on iOS 6
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/resources/css/showcase.css
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/qrcode-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/camera-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/camcorder-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/view/large.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/reality-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/microphone-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31473 Mon Oct 15 10:41:12 MDT 2012 ted.goddard do not use smart app banner during Development ProjectStage to allow foro native development (MOBI-318)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java
        Hide
        Ted Goddard added a comment - - edited

        The Smart App Banner will not display during ProjectStage Development to allow for the case where ICEmobile-SX on the device is a development version rather than downloaded from the app store.

        Show
        Ted Goddard added a comment - - edited The Smart App Banner will not display during ProjectStage Development to allow for the case where ICEmobile-SX on the device is a development version rather than downloaded from the app store.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32213 Sun Nov 18 17:50:44 MST 2012 philip.breau MOBI-318 mobi:getEnhanced
        - update styling
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/GetEnhancedCoreRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/resources/themes/base/1_get-enhanced.css
        Migration made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] User Philip.breau [ philip.breau ]
        Migration made changes -
        Fix Version/s 1.2 Beta [ 10344 ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39711 Mon Jan 20 10:38:16 MST 2014 philip.breau MOBI-318 mobi:getEnhanced
        - render getEnhanced regardless of ios smart banner
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/GetEnhancedCoreRenderer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: