"ref" attribute to something different than the empty string ("") in the
tree element. I use "about:null" :P. Otherwise you can't set it
dynamically from javascript.
The problem is extremely obscure, but its there, and its repeatable.
Hardacker, Andrew writes:
Everything worked well until yesterday when I upgraded from Firefox 0.9 to(.....)
1.0. Now the tree is not being loaded from NC:FilesRoot. The code is more or
less this:
XUL for the tree widget (simplified):
<tree id="directoryTree" flex="1" hideheader="true" hidecolumnpicker="true" seltype="single"
datasources="rdf:null" ref="" flags="dont-test-empty"
sortActive="true" sortDirection="ascending"
sortResource="http://home.netscape.com/NC-rdf#Name"
ondblclick="dirOnDblClick(event);"
onselect="storeLastOpenDir()">
dirTree.database.AddDataSource(theFiles);
dirTree.setAttribute("ref", "NC:FilesRoot");
If I remove the rule, I get one entry in the tree containing this text:
rdf:http://home.netscape.com/NC-rdf#Name
Has anyone had recent problems with this sort of rdf?
saludos! santiago _______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom
