xul broadcasters created after observers don't bind

ASSIGNED
Assigned to

Status

()

Core
XUL
P3
normal
ASSIGNED
17 years ago
8 years ago

People

(Reporter: Joe Hewitt (gone), Assigned: Chris Waterson)

Tracking

({helpwanted})

Trunk
Future
helpwanted
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
I don't have time at the moment to create a test case, but trust me on this 
one.  I'm writing an app in which I've got an RDF file that describes a set of 
commands, and set of keys, and a set of menuitems.  The keys and menuitems are 
set to observe the commands.  I add the datasource to the broadcasterset, 
keyset, and menus via javascript.  The observes attribute is properly set on 
the key and menu elements, all elements are created by the templates, but the 
commands don't copy their attributes over to their observers.  

For now this description will have to do, but I'll get a simple test case 
together when I get around to it.
(Reporter)

Comment 1

17 years ago
After further investigation, I've determined the problem to be this:

if a broadcaster is created _after_ it's observers, the observers don't bind. 

Summary: template-created commands don't bind to template-created observers → xul broadcasters created after observers don't bind
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
Keywords: helpwanted
Target Milestone: --- → Future

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
I wrote a testcase for broadcasters and observes elements, just using textboxes.  It seems to work fine with FF3.6.3... WFM?
You need to log in before you can comment on or make changes to this bug.