[Checkins] SVN: lovely.viewcache/trunk/src/lovely/viewcache/browser/configure.zcml Allow adding a ZODB ViewCache using ZMI

Jürgen Kartnaller juergen at kartnaller.at
Tue Feb 6 09:08:03 EST 2007


Log message for revision 72395:
  Allow adding a ZODB ViewCache using ZMI
  

Changed:
  U   lovely.viewcache/trunk/src/lovely/viewcache/browser/configure.zcml

-=-
Modified: lovely.viewcache/trunk/src/lovely/viewcache/browser/configure.zcml
===================================================================
--- lovely.viewcache/trunk/src/lovely/viewcache/browser/configure.zcml	2007-02-06 14:07:55 UTC (rev 72394)
+++ lovely.viewcache/trunk/src/lovely/viewcache/browser/configure.zcml	2007-02-06 14:08:02 UTC (rev 72395)
@@ -2,20 +2,27 @@
     xmlns="http://namespaces.zope.org/browser"
     i18n_domain="lovely.mount">
 
+    <addMenuItem
+        title = "ZODB ViewCache"
+  		class="lovely.viewcache.zodb.ViewCache"
+ 		view="addZODBViewCache.html"
+  		permission="zope.ManageContent"
+        />
+
   	<addform
-  		schema="lovely.viewcache.interfaces.IZODBViewCache"
-  		content_factory="lovely.viewcache.zodb.ViewCache"
-  		label="Add ZODB ViewCache"
-  		name="addZODBViewCache.html"
-  		permission="zope.ManageContent"
-  		/>
+ 		name="addZODBViewCache.html"
+ 		schema="lovely.viewcache.interfaces.IZODBViewCache"
+ 		content_factory="lovely.viewcache.zodb.ViewCache"
+ 		label="Add ZODB ViewCache"
+ 		permission="zope.ManageContent"
+ 		/>
   	
   	<editform
-  		schema="lovely.viewcache.interfaces.IZODBViewCache"
-  		label="Edit"
-  		name="editZODBViewCache.html"
-  		menu="zmi_views" title="Edit"
-  		permission="zope.ManageContent"
-  		/>
+ 		schema="lovely.viewcache.interfaces.IZODBViewCache"
+ 		label="Edit"
+ 		name="editZODBViewCache.html"
+ 		menu="zmi_views" title="Edit"
+ 		permission="zope.ManageContent"
+ 		/>
 
 </configure>



More information about the Checkins mailing list