[Zope3-checkins] CVS: Zope3/src/zope/app/services - configure.zcml:1.47

Jim Fulton jim@zope.com
Wed, 2 Jul 2003 18:10:50 -0400


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

Modified Files:
	configure.zcml 
Log Message:
Separated pagefolder config into a separate file.


=== Zope3/src/zope/app/services/configure.zcml 1.46 => 1.47 ===
--- Zope3/src/zope/app/services/configure.zcml:1.46	Wed Jul  2 15:14:58 2003
+++ Zope3/src/zope/app/services/configure.zcml	Wed Jul  2 18:10:47 2003
@@ -123,13 +123,6 @@
   />
 
 <adapter
-  for="zope.app.interfaces.services.pagefolder.IPageFolder"
-  provides="zope.app.interfaces.file.IFileFactory"
-  factory=".zpt.ZPTFactory"
-  permission="zope.ManageServices"
-  />
-
-<adapter
   for="zope.app.interfaces.services.registration.IRegisterable"
   provides="zope.app.interfaces.services.registration.IRegistered"
   factory="zope.app.services.registration.Registered"
@@ -295,33 +288,7 @@
         />
     </content>
 
-<!-- Page Folder -->
-
-  <content class="zope.app.services.pagefolder.PageFolder">
-    <factory
-      id = "zope.app.services.PageFolder"
-      permission = "zope.ManageServices"
-      title = "View Folder"
-      />
-    <require
-        permission="zope.View"
-        interface="zope.app.interfaces.container.IReadContainer" />
-    <require
-        permission="zope.ManageServices"
-        interface="zope.app.interfaces.container.IWriteContainer
-                   zope.app.interfaces.services.pagefolder.IPageFolderInfo"
-        set_schema="zope.app.interfaces.services.pagefolder.IPageFolderInfo"
-        attributes="configured getRegistrationManager" 
-        />
-    <implements
-        interface="zope.app.interfaces.annotation.IAttributeAnnotatable" />
-    </content>
-
-    <adapter
-        for="zope.app.interfaces.services.pagefolder.IPageFolder"
-        provides="zope.app.interfaces.context.IZopeContextWrapper"
-        factory="zope.app.services.pagefolder.PageFolderContextDecorator"
-        />
+<!-- Page Folder --> <include file="pagefolder.zcml" />
 
 <!-- Connection Service -->
 
@@ -472,11 +439,6 @@
     />
 
 <fssync:adapter
-    class=".pagefolder.PageFolder"
-    factory=".pagefolder.PageFolderAdapter"
-    />
-
-<fssync:adapter
     class=".zpt.ZPTTemplate"
     factory=".zpt.ZPTPageAdapter"
     />
@@ -505,13 +467,6 @@
   for="zope.app.interfaces.services.service.IServiceManager"
   provides="zope.app.interfaces.file.IDirectoryFactory"
   factory=".folder.SMFolderFactory"
-  permission="zope.ManageContent"
-  />
-
-<adapter 
-  for="zope.app.interfaces.services.folder.ISiteManagementFolder"
-  provides="zope.app.interfaces.file.IDirectoryFactory"
-  factory=".pagefolder.PageFolderFactory"
   permission="zope.ManageContent"
   />