Closed
Bug 45865
Opened 26 years ago
Closed 26 years ago
Tree items not displayed
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: toml, Assigned: hyatt)
References
(
URL
)
Details
Attachments
(3 files)
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (WinNT; U)
BuildID: 2000061408
I have an InMemoryDataSource built (I wrote it in XML and followed the resource
creations and asserts that were done in nsRDFContentSink when it was processed).
After adding the datasource to the tree widget I've tried doing both a
setattribute() and a builder.rebuild()) to cause the InMemoryDataSource to be
processed and displayed. As far as I can tell it is being processed (I followed
the code through nsXULTemplateBuilder.cpp in the debugger) but it is not being
displayed. To confirm this, I added another tree widget to the XUL that
referenced a remote rdf source and a button that referenced a javascript
function to execute when pressed. When initially loaded, the remote rdf tree is
visible. I then click on the button and in the javascript function I did
builder.rebuild() against the tree with the remote rdf and it disappeared
(seemed to do with the aNotify parameter to the BuildContentFromTemplate
function and notifying the XULDocument of content change).
Reproducible: Always
Steps to Reproduce:
1. Copy the attached files to the chrome\packages\core\navigator\content
directory
2. Start the browser
3. Enter "chrome://navigator/content/rdftest.xul" in the location field
4. Press either the "Rebuild" button or the "SetAttr" button and the information
will disappear
Actual Results: The RDF created tree will disappear.
Expected Results: The RDF create tree should rebuild and be redisplayed.
| Reporter | ||
Comment 1•26 years ago
|
||
| Reporter | ||
Comment 2•26 years ago
|
||
| Reporter | ||
Comment 3•26 years ago
|
||
| Assignee | ||
Comment 4•26 years ago
|
||
You left off flex="1" on your <treechildren>.
Invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•