ICEfaces
  1. ICEfaces
  2. ICE-10450

mobi:flipSwitch - add "offlineDisabled" attribute

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EE-4.0.0.GA
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4 mobi:flipSwitch component
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Add a new "offlineDisabled" boolean attribute to the mobi:flipSwitch component.

      When "true" and the web browser is offline (see ICE-10448), the flipSwitch will be made disabled. When "false" (default), the flipSwitch will remain enabled even when the browser is offline.

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          This JIRA depends on ICE-10448.

          Show
          Ken Fyten added a comment - This JIRA depends on ICE-10448 .
          Hide
          Mircea Toma added a comment -

          Introduced 'offlineDisabled' component attribute. Implemented button disabling when browser goes in 'Offline' mode.

          Show
          Mircea Toma added a comment - Introduced 'offlineDisabled' component attribute. Implemented button disabling when browser goes in 'Offline' mode.
          Hide
          Liana Munroe added a comment - - edited

          Tested with ICEfaces 4 trunk r44009. flipswitch is disabled when switched to offlineDisabled=true however there is no styling change to indicate the component is disabled. Also a js error is seen when testing on FF 34 and IE 10.
          IE 10: SCRIPT5007: Unable to get property 'jq' of undefined or null reference
          flipswitch.c.js.jsf, line 4 character 256.
          FF 34: TypeError: ice.ace is undefined.
          Was not able to test offlineDisabled using Chrome.
          Attribute was added to /flipswitchDynAttribute.jsf.
          http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/flipswitch

          Show
          Liana Munroe added a comment - - edited Tested with ICEfaces 4 trunk r44009. flipswitch is disabled when switched to offlineDisabled=true however there is no styling change to indicate the component is disabled. Also a js error is seen when testing on FF 34 and IE 10. IE 10: SCRIPT5007: Unable to get property 'jq' of undefined or null reference flipswitch.c.js.jsf, line 4 character 256. FF 34: TypeError: ice.ace is undefined. Was not able to test offlineDisabled using Chrome. Attribute was added to /flipswitchDynAttribute.jsf. http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/flipswitch
          Hide
          Mircea Toma added a comment -

          Avoid using jQuery functions to alter the CSS classes for the flipswitch buttons.

          Show
          Mircea Toma added a comment - Avoid using jQuery functions to alter the CSS classes for the flipswitch buttons.
          Hide
          Ken Fyten added a comment -

          MOBI comps are not supported on IE8/9.

          Show
          Ken Fyten added a comment - MOBI comps are not supported on IE8/9.

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: