Closed
Bug 350347
Opened 19 years ago
Closed 7 years ago
Editable trees don't work for RDF trees with flags="dont-build-content"
Categories
(Core :: XUL, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: asqueella, Assigned: janv)
References
Details
Only filing this because http://wiki.mozilla.org/XUL:Tree#Editable_Tree gives a faint promise to implement this in future.
STR:
1. Download http://www.xulplanet.com/tutorials/xultu/animals.rdf
2. Save the below text to a xul file in the same directory
3. Open the XUL file
4. Double click an item
5. Edit the cell's text
6. Hit Enter
Actual results:
The cell text is not modified.
Expected results:
The cell text is changed to the value entered in the input box.
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="yourwindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<tree flex="1" width="200" height="200" editable="true"
datasources="animals.rdf" ref="http://www.some-fictitious-zoo.com/all-animals"
flags="dont-build-content">
<treecols>
<treecol id="name" label="Name" primary="true" flex="1"/>
<treecol id="species" label="Species" flex="1"/>
</treecols>
<template>
<rule>
<treechildren>
<treeitem uri="rdf:*">
<treerow>
<treecell label="rdf:http://www.some-fictitious-zoo.com/rdf#name"/>
<treecell label="rdf:http://www.some-fictitious-zoo.com/rdf#species"/>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
</tree>
</window>
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
Assignee | ||
Comment 1•7 years ago
|
||
I don't think anyone is going to work on this given the plan to remove the XUL "tree" widget (bug 1446335).
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•