sidewinderlabs / backplanejs

Other
12 stars 3 forks source link

Optimise the rewire phase of xforms-refresh #49

Closed backplane-import closed 13 years ago

backplane-import commented 13 years ago

Imported from backplanejs Google Code issue 49.

Reporter markbirbeck
Date 25 Apr 2010 3:08:25 PM UTC

The first step of xforms-refresh event handling is to reevaluate all UI bindings:

http://www.w3.org/TR/xforms11/#evt-refresh

This is handled by the Model.rewire() method which in turn calls the Control.rewire() method for each control. Currently the control is being forced to rewire, regardless of whether any dependent data has changed.

The Model.rewire() needs to check whether a dependent value has changed, and only call the Control.rewire() method if there is anything to do.


Priority: Medium Type: Enhancement

backplane-import commented 13 years ago

Comment by markbirbeck on 21 Jul 2010 3:23:45 PM UTC

A fix for this is available at:

http://code.google.com/r/fdintino-backplanejs/source/detail?r=7240ef8b7033d9d048576709f099c1d02b66b282


Updates

Owner set to fdintino

Ticket status set to FixPending

backplane-import commented 13 years ago

Comment by fdintino on 21 Jul 2010 3:47:32 PM UTC

This issue was closed by revision c055ab54dae6f9b34463d355d245eb0ff1838c94 (originally 9029f54b9a).


Updates

Ticket status set to Fixed

backplane-import commented 13 years ago

Comment by markbirbeck on 27 Jul 2010 2:36:27 AM UTC

Further updates were provided here:

http://code.google.com/r/fdintino-backplanejs/source/detail?r=915ed7a44dfdbeea044308568af2e4766b8493e9