Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Final
    • Fix Version/s: 1.3.1
    • Component/s: Faces, JSP
    • Labels:
      None
    • Environment:
      ICEmobile, intermittent connectivity

      Description

      The online/offline state of the network will be detected and relayed to the application in a callback event listener API.

      A component for displaying this status will either be developed or this functionality will be integrated with an existing ICEfaces status component.

        Activity

        Hide
        Ted Goddard added a comment -

        Attached sample works well on iOS but switching to airplane mode has no effect on Android/Chrome.

        Show
        Ted Goddard added a comment - Attached sample works well on iOS but switching to airplane mode has no effect on Android/Chrome.
        Hide
        Ted Goddard added a comment -

        Also verified in Chrome on Android; perhaps the page was not reloaded properly or the status required time to update.

        Show
        Ted Goddard added a comment - Also verified in Chrome on Android; perhaps the page was not reloaded properly or the status required time to update.
        Hide
        Philip Breau added a comment -

        Revision: 38859
        Author: philip.breau
        Date: November-22-13 10:10:46 AM
        Message:
        MOBI-840 Offline detection and display

        • add new mobi:onlineStatus component
        • add mobi:onlineStatus to mobileshowcase small and large views
        • will show a green Font Awesome icon-link when online, and a red icon-unlink when offline
        • has style and styleClass attributes
        • icons and style can also be overriden with the mobi-online and mobi-offline CSS classes

          Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
          Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus
          Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatus.java
          Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusMeta.java
          Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusRenderer.java
          Modified : /icemobile/trunk/icemobile/resources/themes/base/0_base.css
          Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/view/large.xhtml
          Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/showcase.xhtml

        Show
        Philip Breau added a comment - Revision: 38859 Author: philip.breau Date: November-22-13 10:10:46 AM Message: MOBI-840 Offline detection and display add new mobi:onlineStatus component add mobi:onlineStatus to mobileshowcase small and large views will show a green Font Awesome icon-link when online, and a red icon-unlink when offline has style and styleClass attributes icons and style can also be overriden with the mobi-online and mobi-offline CSS classes Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatus.java Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusMeta.java Added : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusRenderer.java Modified : /icemobile/trunk/icemobile/resources/themes/base/0_base.css Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/view/large.xhtml Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/showcase.xhtml
        Hide
        Philip Breau added a comment -

        Revision: 38863
        Author: philip.breau
        Date: November-22-13 3:39:03 PM
        Message:
        MOBI-840 Offline detection and display

        • add onOnline and onOffline handlers to run custom js on events

          Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
          Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusMeta.java
          Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusRenderer.java
          Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/view/large.xhtml
          Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/showcase.xhtml

        Show
        Philip Breau added a comment - Revision: 38863 Author: philip.breau Date: November-22-13 3:39:03 PM Message: MOBI-840 Offline detection and display add onOnline and onOffline handlers to run custom js on events Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusMeta.java Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusRenderer.java Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/view/large.xhtml Modified : /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/showcase.xhtml
        Hide
        Philip Breau added a comment -

        Revision: 39075
        Author: philip.breau
        Date: December-02-13 2:57:47 PM
        Message:
        MOBI-840 Offline detection and display

        • update indicator status when first run in case page is loaded offline

          Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js

        Show
        Philip Breau added a comment - Revision: 39075 Author: philip.breau Date: December-02-13 2:57:47 PM Message: MOBI-840 Offline detection and display update indicator status when first run in case page is loaded offline Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Hide
        Philip Breau added a comment -

        Revision: 39420
        Author: philip.breau
        Date: December-12-13 9:35:14 AM
        Message:
        MOBI-840 Offline detection and display

        • change attribute names to standard lower-case

        Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusMeta.java
        Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusRenderer.java

        Show
        Philip Breau added a comment - Revision: 39420 Author: philip.breau Date: December-12-13 9:35:14 AM Message: MOBI-840 Offline detection and display change attribute names to standard lower-case Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusMeta.java Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/onlinestatus/OnlineStatusRenderer.java

          People

          • Assignee:
            Philip Breau
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: