ICEmobile
  1. ICEmobile
  2. MOBI-131

ICEmobile-SX activation component

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Beta
    • Fix Version/s: 1.0 RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEmobile, iOS

      Description

      ICEmobile-SX cannot be activated immediately without user interaction because an attempt at activation results in a cryptic Safari error message "The document could not be loaded". Currently, the following snippet is being used: 

                     <ui:fragment rendered="#{camcorderBean.showSX}">
                          <br /><span>
                          <h:commandButton
                             styleClass="mobi-button mobi-button-important"
                             onclick="mobi.registerAuxUpload('#{session.id}','#{auxUpload.uploadURL}');" value="Enable" />
           ICEmobile-SX Surf Expander.</span>
                      </ui:fragment>

      A component implementation would include the isShowSX() code internal to the component and would conditionally render the button.

      To render (if necessary) the activation button and "ICEmobile-SX Surf Expander":

      <mobi:icemobilesx />

      To render the activation button (with any specified styles) and any desired child markup if necessary:

      <mobi:icemobilesx value="Enable" />
       <a href="http://itunes.apple.com/app/icemobile-sx">ICEmobile-SX</a> Surf Expander
      </mobi:icemobilesx>

        Activity

        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Judy Guglielmin [ judy.guglielmin ]
        Ted Goddard made changes -
        Fix Version/s 1.0 Final [ 10292 ]
        Description                 <ui:fragment rendered="#{camcorderBean.showSX}">
                            <br /><span>
                            <h:commandButton
                               styleClass="mobi-button mobi-button-important"
                               onclick="mobi.registerAuxUpload('#{session.id}','#{auxUpload.uploadURL}');" value="Enable" />
             ICEmobile-SX Surf Expander.</span>
                        </ui:fragment>
        ICEmobile-SX cannot be activated immediately without user interaction because an attempt at activation results in a cryptic Safari error message "The document could not be loaded". Currently, the following snippet is being used: 

                       <ui:fragment rendered="#{camcorderBean.showSX}">
                            <br /><span>
                            <h:commandButton
                               styleClass="mobi-button mobi-button-important"
                               onclick="mobi.registerAuxUpload('#{session.id}','#{auxUpload.uploadURL}');" value="Enable" />
             ICEmobile-SX Surf Expander.</span>
                        </ui:fragment>

        A component implementation would include the isShowSX() code internal to the component and would conditionally render the button.

        To render (if necessary) the activation button and "ICEmobile-SX Surf Expander":

        <mobi:icemobilesx />

        To render the activation button (with any specified styles) and any desired child markup if necessary:

        <mobi:icemobilesx value="Enable" />
         <a href="http://itunes.apple.com/app/icemobile-sx">ICEmobile-SX</a> Surf Expander
        </mobi:icemobilesx>
        Hide
        Judy Guglielmin added a comment - - edited

        does this component require f:param support ? Will assume no singleSubmit or mobi:ajax support for now.

        Also...where is the "isShowSX()" code to be found?

        does anything have to be done on the decode specifically? just standard support for action and actionListener similar to commandButton?

        Show
        Judy Guglielmin added a comment - - edited does this component require f:param support ? Will assume no singleSubmit or mobi:ajax support for now. Also...where is the "isShowSX()" code to be found? does anything have to be done on the decode specifically? just standard support for action and actionListener similar to commandButton?
        Hide
        Ted Goddard added a comment -

        There is no decode or f:param necessary since the component either renders itself if necessary, or launches ICEmobile-SX within the browser.

        Show
        Ted Goddard added a comment - There is no decode or f:param necessary since the component either renders itself if necessary, or launches ICEmobile-SX within the browser.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27481 Fri Jan 27 17:12:04 MST 2012 judy.guglielmin MOBI-131 original commit for mobisx but need more information on behavior as may be able to make it clearer.
        Files Changed
        Commit graph ADD /icemobile/branches/icemobile-comps-dev/components/component/src/org/icefaces/component/mobisx/IceMobileSXMeta.java
        Commit graph ADD /icemobile/branches/icemobile-comps-dev/components/component/src/org/icefaces/component/mobisx/IceMobileSX.java
        Commit graph ADD /icemobile/branches/icemobile-comps-dev/components/component/src/org/icefaces/component/mobisx/IceMobileSXRenderer.java
        Commit graph ADD /icemobile/branches/icemobile-comps-dev/components/component/src/org/icefaces/component/mobisx
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27518 Mon Jan 30 15:33:25 MST 2012 judy.guglielmin MOBI-131 more for testing SX component
        Files Changed
        Commit graph DEL /icemobile/branches/icemobile-comps-dev/components/tests/mobitest/src/main/webapp/inputComponents/scan.xhtml
        Commit graph ADD /icemobile/branches/icemobile-comps-dev/components/tests/mobitest/src/main/webapp/container/scan.xhtml
        Commit graph MODIFY /icemobile/branches/icemobile-comps-dev/components/tests/mobitest/src/main/webapp/container/cameraAuxUpload.xhtml
        Commit graph MODIFY /icemobile/branches/icemobile-comps-dev/components/tests/mobitest/src/main/webapp/inputComponents.html
        Commit graph MODIFY /icemobile/branches/icemobile-comps-dev/components/component/src/org/icefaces/component/mobisx/IceMobileSXRenderer.java
        Commit graph MODIFY /icemobile/branches/icemobile-comps-dev/components/tests/mobitest/src/main/webapp/containerComponents.html
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27544 Tue Jan 31 10:37:16 MST 2012 judy.guglielmin MOBI-131 more for testing SX component
        Files Changed
        Commit graph MODIFY /icemobile/branches/icemobile-comps-dev/components/component/src/org/icefaces/component/mobisx/IceMobileSXRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27549 Tue Jan 31 11:16:38 MST 2012 judy.guglielmin MOBI-131 sx enable button. Still have to work a bit on mobitest to show resources (similar to mediacast) after upload
        Files Changed
        Commit graph ADD /icemobile/trunk/icemobile/components/component/src/org/icefaces/component/mobisx/IceMobileSX.java
        Commit graph MODIFY /icemobile/trunk/icemobile/components/component/src/org/icefaces/component/utils/Utils.java
        Commit graph ADD /icemobile/trunk/icemobile/components/component/src/org/icefaces/component/mobisx/IceMobileSXRenderer.java
        Commit graph ADD /icemobile/trunk/icemobile/components/component/src/org/icefaces/component/mobisx/IceMobileSXMeta.java
        Commit graph ADD /icemobile/trunk/icemobile/components/component/src/org/icefaces/component/mobisx
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27550 Tue Jan 31 11:57:30 MST 2012 ted.goddard itunes link and mediacast integration (MOBI-131)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mediacast/src/main/webapp/WEB-INF/includes/content/home.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/components/component/src/org/icefaces/component/mobisx/IceMobileSXRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27551 Tue Jan 31 12:08:50 MST 2012 ted.goddard added icemobilesx to mobileshowcase and mobitest (MOBI-131)
        Files Changed
        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/examples/device/microphone-example.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/components/tests/mobitest/src/main/webapp/container/cameraAuxUpload.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27553 Tue Jan 31 13:09:40 MST 2012 ted.goddard removed unused isShowSX methods (MOBI-131)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mediacast/src/main/webapp/WEB-INF/includes/content/home.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mediacast/src/main/java/org/icemobile/samples/mediacast/MediaController.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/metadata/context/ExampleImpl.java
        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/examples/device/microphone-example.xhtml
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.0 RC1 [ 10315 ]
        Fix Version/s 1.0 Final [ 10292 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28591 Thu Mar 29 15:49:50 MDT 2012 ted.goddard include icemobilesx for scan/display demo (MOBI-131)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/components/tests/mobitest/src/main/webapp/inputComponents/phdphone.xhtml
        Hide
        Steve Maryka added a comment - - edited

        =20

        Show
        Steve Maryka added a comment - - edited =20
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: