ICEfaces
  1. ICEfaces
  2. ICE-11006

mobi:flipswitch fails to update when using non-ace:ajax to submit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, 4.2.BETA, 4.2
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4 trunk r48638. Tomcat 7/8, FF 43, Chrome 50, IE 11.
    • Assignee Priority:
      P3
    • Affects:
      Compatibility/Configuration

      Description

      A mobi:flipswitch that does not use ace:ajax fails to update it's value. A browser console error is seen when toggling the flipswitch.
      FF: TypeError: ice.ace is undefined
      http://localhost:8080/flipswitch/javax.faces.resource/flipswitch.c.js.jsf?ln=org.icefaces.component.flipswitch&v=4_2_0_160418
      Line 3
      Chrome:
      Uncaught TypeError: Cannot read property 'setResetValue' of undefinedmobi.flipswitch.init @ flipswitch.c.js.jsf?ln=org.icefaces.component.flipswitch&v=4_2_0_160418:3onclick @ flipswitchDynAttribute.jsf:1

      This issue can be demonstrated using the QA flipswitch test app /flipswitchDynAttribute.jsf
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/flipswitch

      To reproduce:
      Load the application and open the browser console.
      Select rendered the toggle the flipswitch, the console error is shown.
      Press submit. The value does not update accordingly.

        Activity

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: