[Zope3-checkins] CVS: Zope3/src/zope/app/browser -
absoluteurl.py:1.15 configure.zcml:1.24 traversal.zcml:1.9
Sidnei da Silva
sidnei at x3ng.com.br
Wed Sep 3 15:34:26 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser
In directory cvs.zope.org:/tmp/cvs-serv21805/zope/app/browser
Modified Files:
absoluteurl.py configure.zcml traversal.zcml
Log Message:
Get a unproxied tuple for adding below. Also, some whitespace cleaning.
=== Zope3/src/zope/app/browser/absoluteurl.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/browser/absoluteurl.py:1.14 Fri Aug 29 08:28:37 2003
+++ Zope3/src/zope/app/browser/absoluteurl.py Wed Sep 3 14:33:55 2003
@@ -69,7 +69,8 @@
isinstance(context, Exception):
return ({'name':'', 'url': self.request.getApplicationURL()}, )
- base = zapi.getView(container, 'absolute_url', request).breadcrumbs()
+ base = tuple(zapi.getView(container,
+ 'absolute_url', request).breadcrumbs())
dict = zapi.getInnerWrapperData(context)
try:
=== Zope3/src/zope/app/browser/configure.zcml 1.23 => 1.24 ===
--- Zope3/src/zope/app/browser/configure.zcml:1.23 Fri Aug 22 16:23:32 2003
+++ Zope3/src/zope/app/browser/configure.zcml Wed Sep 3 14:33:55 2003
@@ -1,9 +1,9 @@
-<configure
+<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser">
<browser:defaultView name="index.html" />
-
+
<include file="menus.zcml" />
<include package=".applicationcontrol" />
<include package=".cache" />
@@ -25,7 +25,7 @@
<include file="traversal.zcml" />
<include file="undo.zcml" />
<include file="auth.zcml" />
-
+
<include package=".exception" />
</configure>
=== Zope3/src/zope/app/browser/traversal.zcml 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/traversal.zcml:1.8 Wed Aug 6 10:41:11 2003
+++ Zope3/src/zope/app/browser/traversal.zcml Wed Sep 3 14:33:55 2003
@@ -2,66 +2,66 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser">
- <browser:page
- name="_traverse"
+ <browser:page
+ name="_traverse"
for="zope.interface.Interface"
- class="zope.app.publication.traversers.SimpleComponentTraverser"
+ class="zope.app.publication.traversers.SimpleComponentTraverser"
permission="zope.Public"
/>
-
- <browser:view
- name="_traverse"
+
+ <browser:view
+ name="_traverse"
for="zope.app.interfaces.content.file.IFileContent"
- class="zope.app.publication.traversers.FileContentTraverser"
+ class="zope.app.publication.traversers.FileContentTraverser"
permission="zope.Public"
/>
-
+
<browser:page
- name="_traverse"
+ name="_traverse"
for="zope.app.interfaces.container.IItemContainer"
- class="zope.app.container.traversal.ItemTraverser"
+ class="zope.app.container.traversal.ItemTraverser"
permission="zope.Public"
/>
-
+
<browser:page
- name="_traverse"
+ name="_traverse"
for="zope.app.interfaces.container.ISimpleReadContainer"
- class="zope.app.container.traversal.ContainerTraverser"
+ class="zope.app.container.traversal.ContainerTraverser"
permission="zope.Public"
/>
-
+
<view
for="*"
name="absolute_url"
factory=".absoluteurl.AbsoluteURL"
type="zope.publisher.interfaces.http.IHTTPPresentation"
permission="zope.Public"
- allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
+ allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
/>
-
+
<view
for="zope.app.interfaces.traversing.IContainmentRoot"
name="absolute_url"
factory=".absoluteurl.SiteAbsoluteURL"
type="zope.publisher.interfaces.http.IHTTPPresentation"
permission="zope.Public"
- allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
+ allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
/>
-
+
<browser:page
for="*"
name="absolute_url"
class=".absoluteurl.AbsoluteURL"
permission="zope.Public"
- allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
+ allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
/>
-
+
<browser:page
for="zope.app.interfaces.traversing.IContainmentRoot"
name="absolute_url"
class=".absoluteurl.SiteAbsoluteURL"
permission="zope.Public"
- allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
+ allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL"
/>
</configure>
More information about the Zope3-Checkins
mailing list