Philip Chee wrote:

The only problem now is how to dynamically change the label in the 
statusbarpanel created by the XBL. I've tried to use inherit but it doesn't 
seem to work if you are in an XBL widget bound to another XBL widget. Or 
perhaps I'm doing something wrong. I can use document.getAnonymousContent() but 
this is pretty messy. Getting this to work using inherit would be better. Any 
pointers would be appreciated.
You can only inherit from the bound element i.e. your statusbarpanel can only inherit from the dialog button box. You would still have to use document.documentElement.getAnonymousElementByAttribute("anonid", "buttons") to set an attribute on the dialog button box.
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to