Refreshing controls on index changes are handled by the repeat itself, and I missed that in the UI dependency patch.
That controls are not bound on form load is bug 335524.
Created attachment 219877 [details]
(In reply to comment #0)
> Refreshing controls on index changes are handled by the repeat itself, and I
> missed that in the UI dependency patch.
The problem also appears when binding attributes are changed by script. The control refreshes itself, but it needs to refresh children too. I think we need a nsIModelElementPrivate::RebindControl(nsIXFormsControl) that runs the rebind/refresh procedure correctly for that control, and any children too.
Created attachment 222873 [details] [diff] [review]
Tie repeat index() handling to the model UI graph, to let that handle rebinding and refreshing of controls -- properly.
Fixed on trunk