pjs/directory/xpcom/tests/example.xul

45 строки
1.6 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical">
<tree id="tree"
flex="1"
datasources="rdf:ldap"
ref="ldap://alpha.dante.org.uk:389/dc=dante,dc=org,dc=uk??one?(objectclass=*)"
containment="http://home.netscape.com/NC-rdf#recursiveChild"
flags="dont-build-content">
<treecols>
<treecol id="description"
class="sortDirectionIndicator"
flex="1"
label="Description"
sort="rdf:http://www.mozilla.org/LDAPATTR-rdf#description"
sortActive="true"
primary="true"
persist="width sortActive sortDirection" />
<splitter class="tree-splitter" />
<treecol id="cn"
class="sortDirectionIndicator"
flex="1"
label="CN"
sort="rdf:http://www.mozilla.org/LDAPATTR-rdf#cn"
persist="width sortActive sortDirection" />
</treecols>
<template>
<treechildren>
<treeitem uri="rdf:http://home.netscape.com/NC-rdf#recursiveChild">
<treerow>
<treecell ref="description"
label="rdf:http://www.mozilla.org/LDAPATTR-rdf#description" />
<treecell ref="cn"
label="rdf:http://www.mozilla.org/LDAPATTR-rdf#cn" />
</treerow>
</treeitem>
</treechildren>
</template>
</tree>
</window>