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

        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.
        Hide
        Steve Maryka added a comment - - edited

        =20

        Show
        Steve Maryka added a comment - - edited =20

          People

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

            Dates

            • Created:
              Updated:
              Resolved: