[Zope-CVS] CVS: Packages/Moztop/moztop/content/navigation - navigationoverlay.xul:1.4

Paul Everitt paul@zope.com
Mon, 28 Apr 2003 09:51:13 -0400


Update of /cvs-repository/Packages/Moztop/moztop/content/navigation
In directory cvs.zope.org:/tmp/cvs-serv30691/content/navigation

Modified Files:
	navigationoverlay.xul 
Log Message:
Now that I have a local in-mem datasource to make assertions, DELETE 
mostly removes (just hides at this point) the deleted resource.  No 
need to refresh from the server.  Also, New->ZPT Page works.



=== Packages/Moztop/moztop/content/navigation/navigationoverlay.xul 1.3 => 1.4 ===
--- Packages/Moztop/moztop/content/navigation/navigationoverlay.xul:1.3	Wed Apr  2 16:39:30 2003
+++ Packages/Moztop/moztop/content/navigation/navigationoverlay.xul	Mon Apr 28 09:50:43 2003
@@ -1,7 +1,8 @@
 <?xml version="1.0"?>
 
 <overlay id="NavigationOverlay" 
-         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+	 xmlns:oscom="http://www.oscom.org/rdf#">
 
   <script src="navigation.js"/>
 
@@ -18,6 +19,32 @@
   </treecols>
 
    <template>
+
+      <rule>
+        <conditions>
+          <treeitem uri="?uri" />
+          <triple subject="?uri"
+                  predicate="http://home.netscape.com/NC-rdf#subitems"
+                  object="?subitems" />
+          <member container="?subitems" child="?subitem" />
+          <triple subject="?subitem"
+                  predicate="http://www.oscom.org/rdf#isdeleted"
+                  object="1" />
+       </conditions>
+
+        <action>
+            <treechildren flex="1" style="display: none" hidden="hidden">
+                <treeitem uri="?subitem" hidden="hidden">
+                    <treerow>
+                        <treecell properties="zope-?styleid, isdeleted" 
+				  label="?name"/>
+			<treecell label="?resourcetypetitle"/>
+                    </treerow>
+                </treeitem>
+            </treechildren>
+        </action>
+      </rule>
+
       <rule>
         <conditions>
           <treeitem uri="?uri" />
@@ -53,6 +80,7 @@
             </treechildren>
         </action>
       </rule>
+
 
     </template>
 </tree>