[Checkins] SVN: lovely.viewcache/trunk/src/lovely/viewcache/browser/configure.zcml Better ZMI integration.

Jürgen Kartnaller juergen at kartnaller.at
Thu Feb 8 01:51:25 EST 2007


Log message for revision 72446:
  Better ZMI integration.
  

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-08 06:51:03 UTC (rev 72445)
+++ lovely.viewcache/trunk/src/lovely/viewcache/browser/configure.zcml	2007-02-08 06:51:24 UTC (rev 72446)
@@ -3,7 +3,7 @@
     i18n_domain="lovely.mount">
 
     <addMenuItem
-        title = "ZODB ViewCache"
+        title = "ViewCache ZODB"
   		class="lovely.viewcache.zodb.ViewCache"
  		view="addZODBViewCache.html"
   		permission="zope.ManageContent"
@@ -19,10 +19,25 @@
   	
   	<editform
  		schema="lovely.viewcache.interfaces.IZODBViewCache"
- 		label="Edit"
+ 		label="Database"
  		name="editZODBViewCache.html"
- 		menu="zmi_views" title="Edit"
+ 		menu="zmi_views" title="Database"
  		permission="zope.ManageContent"
  		/>
 
+    <addMenuItem
+        title = "ViewCache RAM"
+  		class="lovely.viewcache.ram.ViewCache"
+ 		view="addRAMViewCache.html"
+  		permission="zope.ManageContent"
+        />
+
+  	<addform
+ 		name="addRAMViewCache.html"
+ 		schema="lovely.viewcache.interfaces.IViewCache"
+ 		content_factory="lovely.viewcache.ram.ViewCache"
+ 		label="Add RAM ViewCache"
+ 		permission="zope.ManageContent"
+ 		/>
+
 </configure>



More information about the Checkins mailing list