[Zope3-checkins] CVS: Zope3/src/zope/app/browser - traversal.zcml:1.3

Sidnei da Silva sidnei@x3ng.com.br
Tue, 25 Mar 2003 11:50:28 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser
In directory cvs.zope.org:/tmp/cvs-serv11726/src/zope/app/browser

Modified Files:
	traversal.zcml 
Log Message:
AbsoluteURL should be a IHTTPPresentation, as it doesnt depends on anything browser specific

=== Zope3/src/zope/app/browser/traversal.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/traversal.zcml:1.2	Mon Mar 10 17:35:05 2003
+++ Zope3/src/zope/app/browser/traversal.zcml	Tue Mar 25 11:50:25 2003
@@ -1,50 +1,53 @@
-<zopeConfigure xmlns='http://namespaces.zope.org/browser'>
+<zopeConfigure xmlns='http://namespaces.zope.org/zope'
+	       xmlns:browser='http://namespaces.zope.org/browser'>
 
-<page 
+<browser:page 
     name="_traverse" 
     for="zope.interface.Interface"
     class="zope.app.publication.traversers.SimpleComponentTraverser" 
     permission="zope.Public"
     />
 
-<view 
+<browser:view 
     name="_traverse" 
     for="zope.app.interfaces.content.file.IFileContent"
     class="zope.app.publication.traversers.FileContentTraverser" 
     permission="zope.Public"
     />
 
-<page
+<browser:page
     name="_traverse" 
     for="zope.app.interfaces.container.IItemContainer"
     class="zope.app.container.traversal.ItemTraverser" 
     permission="zope.Public"
     />
 
-<page
+<browser:page
     name="_traverse" 
     for="zope.app.interfaces.container.ISimpleReadContainer"
     class="zope.app.container.traversal.ContainerTraverser" 
     permission="zope.Public"
     />
 
-<page
+<view
     for="*"
     name="absolute_url"
-    class=".absoluteurl.AbsoluteURL"
+    factory=".absoluteurl.AbsoluteURL"
+    type="zope.publisher.interfaces.http.IHTTPPresentation"
     permission="zope.Public"
     allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL" 
     />
 
-<page
+<view
     for="zope.app.interfaces.traversing.IContainmentRoot"
     name="absolute_url"
-    class=".absoluteurl.SiteAbsoluteURL"
+    factory=".absoluteurl.SiteAbsoluteURL"
+    type="zope.publisher.interfaces.http.IHTTPPresentation"
     permission="zope.Public"
     allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL" 
     />
 
-<page
+<browser:page
     for="*"
     name="object_name"
     class=".objectname.ObjectNameView"
@@ -52,7 +55,7 @@
     allowed_interface="zope.app.interfaces.traversing.IObjectName" 
     />
 
-<page
+<browser:page
     for="zope.app.interfaces.content.folder.IRootFolder"
     name="object_name"
     class=".objectname.SiteObjectNameView"