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

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Link This issue depends on ICE-10448 [ ICE-10448 ]
          Ken Fyten made changes -
          Component/s MOBI-Components [ 10270 ]
          Component/s ACE-Components [ 10050 ]
          Ken Fyten made changes -
          Description Add a new "offlineDisabled" boolean attribute to the ace:pushButton component.

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

          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.

          Ken Fyten made changes -
          Environment ICEfaces 4 ace:pushButton component ICEfaces 4 mobi:flipSwitch component
          Hide
          Ken Fyten added a comment -

          This JIRA depends on ICE-10448.

          Show
          Ken Fyten added a comment - This JIRA depends on ICE-10448 .
          Ken Fyten made changes -
          Assignee Judy Guglielmin [ judy.guglielmin ]
          Fix Version/s EE-4.0.0.GA [ 11171 ]
          Affects Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial [ 10003, 10001 ]
          Assignee Priority P2 [ 10011 ]
          Ken Fyten made changes -
          Assignee Judy Guglielmin [ judy.guglielmin ] Mircea Toma [ mircea.toma ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #43998 Tue Feb 03 10:08:50 MST 2015 mircea.toma ICE-10450 Introduced 'offlineDisabled' component attribute. Implemented button disabling when browser goes in 'Offline' mode.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.flipswitch/flipswitch.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/flipswitch/FlipSwitchRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/flipswitch/FlipSwitchMeta.java
          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.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          Liana Munroe made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #44036 Tue Feb 10 07:14:58 MST 2015 mircea.toma ICE-10450 Avoid using jQuery functions to alter the CSS classes for the flipswitch buttons.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.flipswitch/flipswitch.js
          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.
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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.
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: