I'm making a new sidebar for Bugzilla (the patch is posted) that displays the bug list in a <tree> XUL element. I bind to an RDF resource initially and everything works fine. What I want to do is allow the user to select a named query and see that in the list window. To do that, I have to rebuild the tree template with a new datasource.
I've tried about everything I can think of. I've tried basic stuff setting the tree's datasources property and calling rebuild() on the tree's builder property, but that merely rebuilds the template and doesn't get the new data.
Based on a couple weeks of research, I'm going to have to use the full XPCOM implementations to get an nsIRDFService component and do several things there. Unfortunately, accessing the Components.classes collection throws "Access denied". Even though I can't find it documented, I'm pretty sure it's because the XUL resource is remote and not local (where Components.classes does work).
I would sure appreciate any help or tips anyone can give me. I'll be sure to include your name in the credits section. TIA
--
Heath Stewart Software Engineer / Network Administrator Proplanner.NET http://www.proplanner.net
Email: [EMAIL PROTECTED] Email: [EMAIL PROTECTED] (Personal) Phone: 515-296-3232 Fax: 515-296-3229
