[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/workflow/ Don't use IContentContainer but containerViews with IProcessDefinitionElementContainer

Julien Anguenot ja at nuxeo.com
Sun Jun 19 11:24:04 EDT 2005


Log message for revision 30854:
  Don't use IContentContainer but containerViews with IProcessDefinitionElementContainer

Changed:
  U   Zope3/trunk/src/zope/app/workflow/browser/configure.zcml
  U   Zope3/trunk/src/zope/app/workflow/configure.zcml

-=-
Modified: Zope3/trunk/src/zope/app/workflow/browser/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/workflow/browser/configure.zcml	2005-06-18 18:52:59 UTC (rev 30853)
+++ Zope3/trunk/src/zope/app/workflow/browser/configure.zcml	2005-06-19 15:24:03 UTC (rev 30854)
@@ -32,17 +32,16 @@
 
 <!-- ProcessDefinitionElementContainer -->
 
-  <page
-      for="zope.app.workflow.interfaces.IProcessDefinitionElementContainer"
-      permission="zope.workflow.ManageProcessDefinitions"
-      class="zope.app.container.browser.contents.Contents"
-      name="contents.html" 
-      attribute="contents"
-      menu="zmi_views" title="Contents" />
+<containerViews
+    for="zope.app.workflow.interfaces.IProcessDefinitionElementContainer"
+    contents="zope.workflow.ManageProcessDefinitions"
+    add="zope.workflow.ManageProcessDefinitions"
+    />
 
-  <defaultView
-      for="zope.app.workflow.interfaces.IProcessDefinitionElementContainer"
-      name="contents.html" />  
+<defaultView
+    for="zope.app.workflow.interfaces.IProcessDefinitionElementContainer"
+    name="contents.html" 
+    />  
 
   <!-- ProcessInstanceContainerAdaptable 
        Note: Commented Out ... it is just a demo

Modified: Zope3/trunk/src/zope/app/workflow/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/workflow/configure.zcml	2005-06-18 18:52:59 UTC (rev 30853)
+++ Zope3/trunk/src/zope/app/workflow/configure.zcml	2005-06-19 15:24:03 UTC (rev 30854)
@@ -58,8 +58,6 @@
   <content 
         class="zope.app.workflow.definition.ProcessDefinitionElementContainer">
 
-    <implements interface="zope.app.container.interfaces.IContentContainer" />
-
     <implements
        interface="zope.app.annotation.interfaces.IAttributeAnnotatable"
        />



More information about the Zope3-Checkins mailing list