[Zope3-checkins] CVS: Zope3/src/zope/app/folder/browser - configure.zcml:1.1.2.2

Philipp von Weitershausen philikon at philikon.de
Mon Feb 23 05:57:54 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/folder/browser
In directory cvs.zope.org:/tmp/cvs-serv18847

Modified Files:
      Tag: philikon-movecontent-branch
	configure.zcml 
Log Message:
* Use preview template from zope.app.preview
* Cleanup


=== Zope3/src/zope/app/folder/browser/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/folder/browser/configure.zcml:1.1.2.1	Fri Feb 20 14:37:50 2004
+++ Zope3/src/zope/app/folder/browser/configure.zcml	Mon Feb 23 05:57:54 2004
@@ -1,8 +1,7 @@
 <configure
-    xmlns='http://namespaces.zope.org/zope'
-    xmlns:browser='http://namespaces.zope.org/browser'
-    xmlns:fssync='http://namespaces.zope.org/fssync'
-    i18n_domain='zope'
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser"
+    i18n_domain="zope"
     >
 
   <browser:icon
@@ -14,6 +13,7 @@
   <browser:addMenuItem
       class="zope.app.folder.Folder"
       title="Folder"
+      description="Minimal folder"
       permission="zope.ManageContent"
       />
 
@@ -34,12 +34,16 @@
       attribute="index"
       />
 
-  <!--browser:page
-      for="zope.app.folder.interfaces.IFolder"
-      name="preview.html"
-      menu="zmi_views" title="Preview"
-      template="preview.pt"
-      permission="zope.ManageContent"
-      /-->
+  <!-- Preview view - requires zope.app.preview -->
+
+  <configure package="zope.app.preview">
+    <browser:page
+        for="zope.app.folder.interfaces.IFolder"
+        name="preview.html"
+        template="preview.pt"
+        permission="zope.ManageContent"
+        menu="zmi_views" title="Preview"
+        />
+  </configure>
 
 </configure>




More information about the Zope3-Checkins mailing list