Mercurial > hg > digilib
comparison xul/content/tree.xul @ 210:e1c302129599
The tree is sortable now.
author | slarti |
---|---|
date | Thu, 25 Mar 2004 19:58:12 +0100 |
parents | 49cb8a445126 |
children |
comparison
equal
deleted
inserted
replaced
209:28e861dc3467 | 210:e1c302129599 |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 | |
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> | 2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
4 | 3 |
5 <window id="example-window" title="Example 6.8.2" | 4 <window id="example-window" title="Example 6.8.2" |
6 xmlns:html="http://www.w3.org/1999/xhtml" | 5 xmlns:html="http://www.w3.org/1999/xhtml" |
7 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | 6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
8 | 7 |
9 <script language="JavaScript" src="tree.js" /> | 8 <script language="JavaScript" src="tree.js" /> |
10 | 9 |
11 <tree id="menu_tree" onselect="open_link();" flex="1" width="200" height="200" | 10 <tree id="menu_tree" onselect="open_link();" flex="1" width="200" height="200" |
12 datasources="http://hera.unibe.ch:8080/alcatraz/xul/echonavigation.jsp" ref="urn:echonavigation:data"> | 11 datasources="http://hera.unibe.ch:8080/alcatraz/xul/echonavigation.jsp" ref="urn:echonavigation:data"> |
13 | 12 |
14 <treecols> | 13 <treecols> |
15 <treecol id="name" label="Name" primary="true" flex="1"/> | 14 <treecol id="name" label="Name" primary="true" flex="1"/> |
16 </treecols> | 15 </treecols> |
17 | |
18 <template> | 16 <template> |
19 <rule> | 17 <rule> |
20 <treechildren> | 18 <treechildren> |
21 <treeitem uri="rdf:*"> | 19 <treeitem uri="rdf:*"> |
22 <treerow> | 20 <treerow> |
23 <treecell label="rdf:http://www.echo.eu/rdf#name" link="rdf:http://www.echo.eu/rdf#link"/> | 21 <treecell label="rdf:http://www.echo.eu/rdf#name" link="rdf:http://www.echo.eu/rdf#link"/> |
24 </treerow> | 22 </treerow> |
25 </treeitem> | 23 </treeitem> |
26 </treechildren> | 24 </treechildren> |
27 </rule> | 25 </rule> |
28 | |
29 </template> | 26 </template> |
30 </tree> | 27 </tree> |
31 | |
32 | |
33 </window> | 28 </window> |
34 | 29 |