[Zope-Checkins] CVS: Zope3 - zope.zcml:1.1.2.15
Jim Fulton
jim@zope.com
Thu, 3 Jan 2002 18:55:44 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv17803
Modified Files:
Tag: Zope-3x-branch
zope.zcml
Log Message:
Renamed component attribute to "factory" in view and adapter
directives.
=== Zope3/zope.zcml 1.1.2.14 => 1.1.2.15 ===
<!-- Other stuff that still needs to get organizaed. -->
-<adapter component="Zope.App.Traversing.Traverser."
+<adapter factory="Zope.App.Traversing.Traverser."
provides="Zope.App.Traversing.ITraverser."
/>
<!-- Ultimately, this should be registered only for IWrapper, but that
won't work like that just now.
for="Zope.ContextWrapper.IWrapper." /> -->
-<adapter component="Zope.App.Traversing.DefaultTraversable"
+<adapter factory="Zope.App.Traversing.DefaultTraversable"
provides="Zope.App.Traversing.ITraversable." />
<security:defaultPolicy
@@ -121,26 +121,26 @@
description="Minimal folder" />
<browser:view name="_traverse"
- component="Zope.App.ZopePublication.Traversers.DefaultTraverser." />
+ factory="Zope.App.ZopePublication.Traversers.DefaultTraverser." />
<browser:view name="_traverse"
for="Zope.App.OFS.IContainer."
- component="Zope.App.OFS.ContainerTraverser.ContainerTraverser." />
+ factory="Zope.App.OFS.ContainerTraverser.ContainerTraverser." />
<security:protectClass name="Zope.App.OFS.FolderContents."
permission_id="Zope.View" methods="index" />
<browser:view name="contents"
for="Zope.App.OFS.Folder.IFolder."
- component="Zope.App.OFS.FolderContents." />
+ factory="Zope.App.OFS.FolderContents." />
<browser:defaultView name="view"
for="Zope.App.OFS.Folder.IFolder."
- component="Zope.App.OFS.FolderContents." />
+ factory="Zope.App.OFS.FolderContents." />
<!--browser:defaultView name="view"
for="Zope.App.OFS.RootFolder.IRootFolder"
- component="Zope.App.OFS.FolderContents" /-->
+ factory="Zope.App.OFS.FolderContents" /-->
<security:protectClass name="Zope.App.OFS.FolderAdder."
permission_id="Zope.AddFolders" methods="index, confirmed, action" />
@@ -150,13 +150,13 @@
<browser:view name="adder"
for="Zope.App.OFS.Folder.IFolder."
- component="Zope.App.OFS.FolderAdder." />
+ factory="Zope.App.OFS.FolderAdder." />
-<adapter component="Zope.App.OFS.ContainerTraversable."
+<adapter factory="Zope.App.OFS.ContainerTraversable."
provides="Zope.App.Traversing.ITraversable."
for="Zope.App.OFS.IContainer.IReadContainer." />
-<adapter component="Zope.App.Security.BasicAuthAdapter."
+<adapter factory="Zope.App.Security.BasicAuthAdapter."
provides="Zope.App.Security.ILoginPassword."
for="Zope.Publisher.HTTP.IHTTPCredentials." />
@@ -175,9 +175,9 @@
<browser:view name="RolePermissionsManagement"
for="Zope.App.Security.IAttributeRolePermissionManageable."
- component="Zope.App.Security.RolePermissionView." />
+ factory="Zope.App.Security.RolePermissionView." />
-<adapter component="Zope.App.Security.AttributeRolePermissionManager."
+<adapter factory="Zope.App.Security.AttributeRolePermissionManager."
for="Zope.App.Security.IAttributeRolePermissionManageable."
provides="Zope.App.Security.IRolePermissionManager."
/>