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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: