Closed
Bug 335525
Opened 19 years ago
Closed 19 years ago
UI dependencies not working for index() changes
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allan, Assigned: allan)
References
()
Details
(Keywords: fixed1.8.0.5, fixed1.8.1)
Attachments
(2 files)
Refreshing controls on index changes are handled by the repeat itself, and I missed that in the UI dependency patch.
| Assignee | ||
Comment 1•19 years ago
|
||
That controls are not bound on form load is bug 335524.
Depends on: 335524
| Assignee | ||
Comment 2•19 years ago
|
||
| Assignee | ||
Comment 3•19 years ago
|
||
(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.
Assignee: aaronr → allan
| Assignee | ||
Comment 4•19 years ago
|
||
Tie repeat index() handling to the model UI graph, to let that handle rebinding and refreshing of controls -- properly.
Attachment #222873 -
Flags: review?(Olli.Pettay)
Updated•19 years ago
|
Attachment #222873 -
Flags: review?(Olli.Pettay) → review+
| Assignee | ||
Updated•19 years ago
|
Attachment #222873 -
Flags: review?(doronr)
Updated•19 years ago
|
Attachment #222873 -
Flags: review?(doronr) → review+
| Assignee | ||
Comment 5•19 years ago
|
||
Fixed on trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
| Assignee | ||
Updated•19 years ago
|
Keywords: fixed1.8.1
| Assignee | ||
Updated•19 years ago
|
Keywords: fixed1.8.0.5
| Assignee | ||
Updated•19 years ago
|
Whiteboard: xf-to-branch
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•