ICEmobile
  1. ICEmobile
  2. MOBI-831

Resource download component with "open" functionality

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.4 Beta
    • Component/s: Faces, JSP
    • Labels:
      None
    • Environment:
      ICEmobile

      Description


      The mobi openResource component provides a link to a resource that will be opened on a mobile device.

      <mobi:openResource value="#{bean.resourceurl}" />

      For desktop, this falls back to a simple hyperlink. For the short term it can be styled as a button or a link, whichever is easier. On compatible devices, this is a device command where the value of the link is passed to an "open" command.

      ice.mobi.open(url)

      or ice.mobi.invoke(this) with data-command set to open.

        Activity

        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        This component will not be immediately functional. Please begin by creating the component and JSP tag and I will complete the integration.

        Show
        Ted Goddard added a comment - This component will not be immediately functional. Please begin by creating the component and JSP tag and I will complete the integration.
        Hide
        Judy Guglielmin added a comment -

        initial creation of components (jsf and asp) completed with test page for mobitest and jsptagtest all checked in rev 36647

        Show
        Judy Guglielmin added a comment - initial creation of components (jsf and asp) completed with test page for mobitest and jsptagtest all checked in rev 36647
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Judy Guglielmin [ judy.guglielmin ] Ted Goddard [ ted.goddard ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36647 Thu Jul 11 15:50:20 MDT 2013 judy.guglielmin MOBI-831 initial creation using generator for both jsp and jsf. Creation of test page in mobitest/resourceComponents/openResource.jsf
        and jsptagtest/resource/openResource.jsp
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/openresource
        Commit graph ADD /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/resource
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/openresource/OpenResource.java
        Commit graph ADD /icemobile/trunk/icemobile/jsp/tests/jsptagtest/src/main/webapp/resource/openResource.jsp
        Commit graph ADD /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/OpenResourceCoreRenderer.java
        Commit graph ADD /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/resource/OpenResourceTag.java
        Commit graph ADD /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/component/meta/OpenResourceMeta.java
        Commit graph ADD /icemobile/trunk/icemobile/jsp/tests/jsptagtest/src/main/webapp/resource
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/webapp/resourceComponents.html
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/webapp/resourceComponents/openResource.xhtml
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/openresource/OpenResourceRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36980 Tue Jul 16 17:04:50 MDT 2013 ted.goddard mobileshowcase example for open device functionality (MOBI-831)
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/device/open
        Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/open.xhtml
        Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/device/open/OpenBean.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/resources/org/icemobile/samples/mobileshowcase/view/resources/messages.properties
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/navigation/NativeComponentsMenu.java
        Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/open-desc.xhtml
        Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/open-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/content/content-stack.xhtml
        Commit graph ADD /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/resources/images/target_marker_USLetter.pdf
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36981 Tue Jul 16 17:08:49 MDT 2013 ted.goddard invoke open command on device with resource URL relative to page url base (MOBI-831)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/OpenResourceCoreRenderer.java
        Ted Goddard made changes -
        Fix Version/s 1.4 Beta [ 10874 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36982 Tue Jul 16 17:16:02 MDT 2013 ted.goddard ios support for open resource (MOBI-831)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Container/Preferences.h
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Container/Preferences.m
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Shared/NativeInterface.h
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Container/native-interface.js
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Steve Maryka [ steve.maryka ]
        Hide
        Ted Goddard added a comment -

        An "open" command allows the device to download and directly open a PDF. This is implemented in mobileshowcase and for iOS. On Android, the feature might be fairly powerful, such as allowing a PDF to be opened in Adobe Acrobat, or a movie opened in an external video player.

        Show
        Ted Goddard added a comment - An "open" command allows the device to download and directly open a PDF. This is implemented in mobileshowcase and for iOS. On Android, the feature might be fairly powerful, such as allowing a PDF to be opened in Adobe Acrobat, or a movie opened in an external video player.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36990 Wed Jul 17 09:16:29 MDT 2013 ted.goddard removing extra MicrophoneBean (MOBI-831)
        Files Changed
        Commit graph DEL /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/device/open/MicrophoneBean.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36995 Wed Jul 17 11:44:22 MDT 2013 ted.goddard application buttons for open functionality (MOBI-831)
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/open.png
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.m
        Commit graph ADD /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/open@2x.png
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPad.xib
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/ViewController.h
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPhone.xib
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36997 Wed Jul 17 11:57:03 MDT 2013 ted.goddard application buttons for open functionality (MOBI-831)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX.xcodeproj/project.pbxproj
        Steve Maryka made changes -
        Assignee Steve Maryka [ steve.maryka ] Judy Guglielmin [ judy.guglielmin ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37854 Wed Sep 11 14:33:58 MDT 2013 ted.goddard removed extra label from open-in button (MOBI-831)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPhone.xib
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37855 Wed Sep 11 15:16:15 MDT 2013 ted.goddard removed extra label from open-in button (MOBI-831)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/ICEmobile-SX/en.lproj/ViewController_iPad.xib
        Judy Guglielmin made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Steve Maryka [ steve.maryka ]

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: