Details
-
Type: New Feature
-
Status: Closed
-
Priority: 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>
<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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion