[Zope3-checkins] SVN: Zope3/branches/philikon-reduce-zcml/src/zope/app/ get rid of untested and broken browser:addview directive.

Philipp von Weitershausen philikon at philikon.de
Wed Mar 15 09:58:42 EST 2006


Log message for revision 66035:
  get rid of untested and broken browser:addview directive.
  

Changed:
  U   Zope3/branches/philikon-reduce-zcml/src/zope/app/apidoc/zcmlmodule/README.txt
  U   Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/meta.zcml
  U   Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/viewmeta.py

-=-
Modified: Zope3/branches/philikon-reduce-zcml/src/zope/app/apidoc/zcmlmodule/README.txt
===================================================================
--- Zope3/branches/philikon-reduce-zcml/src/zope/app/apidoc/zcmlmodule/README.txt	2006-03-15 14:48:10 UTC (rev 66034)
+++ Zope3/branches/philikon-reduce-zcml/src/zope/app/apidoc/zcmlmodule/README.txt	2006-03-15 14:58:41 UTC (rev 66035)
@@ -86,7 +86,7 @@
   >>> print '\n'.join([name for name, dir in ns.items()][:3])
   addMenuItem
   addform
-  addview
+  containerViews
 
 
 `quoteNS(ns)`

Modified: Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/meta.zcml
===================================================================
--- Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/meta.zcml	2006-03-15 14:48:10 UTC (rev 66034)
+++ Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/meta.zcml	2006-03-15 14:58:41 UTC (rev 66035)
@@ -69,24 +69,6 @@
 
     </meta:complexDirective>
 
-    <meta:complexDirective
-        name="addview"
-        schema=".metadirectives.IViewDirective"
-        handler=".viewmeta.addview"
-        >
-
-      <meta:subdirective
-          name="page"
-          schema=".metadirectives.IViewPageSubdirective"
-          />
-
-      <meta:subdirective
-          name="defaultPage"
-          schema=".metadirectives.IViewDefaultPageSubdirective"
-          />
-
-    </meta:complexDirective>
-
     <meta:directive
         name="defaultView"
         schema=".metadirectives.IDefaultViewDirective"

Modified: Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/viewmeta.py
===================================================================
--- Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/viewmeta.py	2006-03-15 14:48:10 UTC (rev 66034)
+++ Zope3/branches/philikon-reduce-zcml/src/zope/app/publisher/browser/viewmeta.py	2006-03-15 14:58:41 UTC (rev 66035)
@@ -356,19 +356,6 @@
                     _context.info),
             )
 
-def addview(_context, name, permission,
-            layer=IDefaultBrowserLayer, class_=None,
-            allowed_interface=None, allowed_attributes=None,
-            menu=None, title=None
-            ):
-    return view(_context, name,
-                'zope.app.container.interfaces.IAdding',
-                permission,
-                layer, class_,
-                allowed_interface, allowed_attributes,
-                menu, title
-                )
-
 # transient _handle_menu registry
 _registeredMenus = {}
 



More information about the Zope3-Checkins mailing list