[Zope3-checkins] CVS: Zope3/src/zope/app - folder.zcml:1.1.2.1 configure.zcml:1.39.4.2

Philipp von Weitershausen philikon at philikon.de
Wed Feb 11 12:27:18 EST 2004


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

Modified Files:
      Tag: philikon-movecontent-branch
	configure.zcml 
Added Files:
      Tag: philikon-movecontent-branch
	folder.zcml 
Log Message:
Move the configuration of the Folder class back to zope.app. We need it
for functional testing, and who knows what people want to do with Folder
but *without* zope.products.folder...
Well, I hope Folder can move out of zope.app at some point anyway,
though I doubt that.


=== Added File Zope3/src/zope/app/folder.zcml ===
<configure
    xmlns="http://namespaces.zope.org/zope"
    i18n_domain="zope"
    >

  <!-- Module alias for backward compat -->

  <modulealias
      module="zope.app.folder"
      alias="zope.app.content.folder"
      />


  <interface 
      interface="zope.app.interfaces.folder.IFolder" 
      type="zope.app.interfaces.content.IContentType"
      /> 

  <content class="zope.app.folder.Folder">
    <factory
        id="Folder"
        permission="zope.ManageContent"
        title="Folder"
        description="Minimal folder"
        />

    <allow
        attributes="getSiteManager"
        />

    <require
        permission="zope.ManageServices"
        attributes="setSiteManager"
        />

    <require
        permission="zope.View"
        interface="zope.app.interfaces.container.IReadContainer" 
        />

    <require
        permission="zope.ManageContent"
        interface="zope.app.interfaces.container.IWriteContainer"
        />
  </content>

</configure>


=== Zope3/src/zope/app/configure.zcml 1.39.4.1 => 1.39.4.2 ===
--- Zope3/src/zope/app/configure.zcml:1.39.4.1	Sun Feb  8 09:12:32 2004
+++ Zope3/src/zope/app/configure.zcml	Wed Feb 11 12:27:16 2004
@@ -37,6 +37,9 @@
         attributes="__getattr__" />
   </content>
 
+  <!-- Folder -->
+  <include file="folder.zcml" />
+
    <adapter
        for='*'
        factory="zope.app.introspector.Introspector"




More information about the Zope3-Checkins mailing list