Fluid Infusion

In IE6 & IE7: Auto-binding not working properly - gets "behind"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 0.8
  • Fix Version/s: 1.0
  • Component/s: Data Binder, Renderer
  • Labels:
    None
  • Environment:
    IE6 & IE7

Description

For some reason, in IE the auto-binding is not updating the model right away. When a UI control that is auto-bound to the model is changed, the model doesn't seem to be updated until focus moves away from the UI control, either by tabbing away or by clicking on another control.

This can be observed in the UI Options template:
    http://build.fluidproject.org/fluid/fluid-components/html/templates/UIOptions.html
as described in FLUID-2253, which I think is just a manifestation of this issue.

It can also be seen in the auto-bound parts these renderer examples:
    http://build.fluidproject.org/fluid/sample-code/renderer/data-binding/menu.html
    http://build.fluidproject.org/fluid/sample-code/renderer/programmatic-tree/menu.html
In these examples, the checkboxes on the right side of the pages are auto-bound to the model (click the Render button at the top to actually render the data first). As soon as a checkbox is set or unset, the model (displayed below the menus) should update immediately, but in IE, a change only shows up in the model after another checkbox is changed.

Issue Links

Activity

Hide
Justin Obara added a comment -
Bug Parade 1.0 release
Show
Justin Obara added a comment - Bug Parade 1.0 release
Hide
Antranig Basman added a comment -
IE is bloody stupid and suffers from this bug http://webbugtrack.blogspot.com/2007/11/bug-193-onchange-does-not-fire-properly.html which causes a "change" event to only actually fire when a checkbox or radio button receives a blur, rather than when it is actually changed. Code has been added to the autobind functionality of the renderer to compensate for this - this actually represents added value now to the renderer infrastructure since it is possible to abstract over this issue - previous code used "change" just attached to the document. THE CATT is here.

Resolved at revision 6814
Show
Antranig Basman added a comment - IE is bloody stupid and suffers from this bug http://webbugtrack.blogspot.com/2007/11/bug-193-onchange-does-not-fire-properly.html which causes a "change" event to only actually fire when a checkbox or radio button receives a blur, rather than when it is actually changed. Code has been added to the autobind functionality of the renderer to compensate for this - this actually represents added value now to the renderer infrastructure since it is possible to abstract over this issue - previous code used "change" just attached to the document. THE CATT is here. Resolved at revision 6814
Hide
Michelle D'Souza added a comment -
This now works and the code looks fine.
Show
Michelle D'Souza added a comment - This now works and the code looks fine.
Hide
Justin Obara added a comment -
Verified fix using:

IE6 (Win XP)
IE7 (Win Vista)
Show
Justin Obara added a comment - Verified fix using: IE6 (Win XP) IE7 (Win Vista)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: