ICEmobile
  1. ICEmobile
  2. MOBI-842

commandButton connectivity awareness

    Details

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

      Description

      mobiCommand button should support a mode where it is enabled/disabled based on the current online/offline status of the network.

        Activity

        Hide
        Ted Goddard added a comment -

        This can be implemented by defining a CSS class for offline-disabled. When an offline/online state is detected, any input fields with offline-disabled will be disabled/enabled. Any child inputs of a containing element with offline-disabled will be disabled/enabled.

        This will allow the same functionality to be available to HTML 5 applications.

        For the JSF developer, this can be applied directly via the style class or an attribute offlineDisabled on mobi:ajax can be used. When mobi:ajax supports the wrapping variant it will be possible to apply the setting to a group of elements.

        Show
        Ted Goddard added a comment - This can be implemented by defining a CSS class for offline-disabled. When an offline/online state is detected, any input fields with offline-disabled will be disabled/enabled. Any child inputs of a containing element with offline-disabled will be disabled/enabled. This will allow the same functionality to be available to HTML 5 applications. For the JSF developer, this can be applied directly via the style class or an attribute offlineDisabled on mobi:ajax can be used. When mobi:ajax supports the wrapping variant it will be possible to apply the setting to a group of elements.
        Hide
        Ted Goddard added a comment -

        Since a variety of components may need to support connectivity configuration, this should be enabled through a feature similar to <f:ajax> where both child and wrapper tags are supported.

        Show
        Ted Goddard added a comment - Since a variety of components may need to support connectivity configuration, this should be enabled through a feature similar to <f:ajax> where both child and wrapper tags are supported.

          People

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

            Dates

            • Created:
              Updated: