[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Publisher/Browser - browser-meta.zcml:1.1.2.4 metaConfigure.py:1.1.2.4

Jim Fulton jim@zope.com
Mon, 3 Jun 2002 14:25:34 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv14482/lib/python/Zope/App/Publisher/Browser

Modified Files:
      Tag: Zope3InWonderland-branch
	browser-meta.zcml metaConfigure.py 
Log Message:
Changed list attribute syntax to be more XML standard.
In particular, list attributes now expect items to be separated by
whitespace, rather than commas.


=== Zope3/lib/python/Zope/App/Publisher/Browser/browser-meta.zcml 1.1.2.3 => 1.1.2.4 ===
     </directive>
 
-    <directive name="skin" attributes="name, layers" 
+    <directive name="skin" attributes="name layers" 
         handler="Zope.App.Publisher.Browser.metaConfigure.skin" />
 
   </directives>


=== Zope3/lib/python/Zope/App/Publisher/Browser/metaConfigure.py 1.1.2.3 => 1.1.2.4 ===
     type = IBrowserPresentation
 
-    def __init__(self, _context, factory, name=None, layer='',
+    def __init__(self, _context, factory, name=None, layer='default',
                  permission=None,
                  allowed_interface=None, allowed_attributes=None):
 
@@ -157,7 +157,7 @@
 class view(resource):
 
     def __init__(self, _context, factory=None, name=None, for_=None,
-                 layer='',
+                 layer='default',
                  permission=None,
                  allowed_interface=None, allowed_attributes=None,
                  template=None):