[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage - configure.zcml:1.1 zptpage.zcml:NONE

Steve Alexander steve@cat-box.net
Mon, 17 Jun 2002 15:34:00 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage
In directory cvs.zope.org:/tmp/cvs-serv8164/lib/python/Zope/App/OFS/Content/ZPTPage

Added Files:
	configure.zcml 
Removed Files:
	zptpage.zcml 
Log Message:
changed foo-meta.zcml in tests to meta.zcml
changed zcml filenames to configure.zcml where feasible, and removed
the file attribute of include directives where I could.


=== Added File Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/configure.zcml ===
<zopeConfigure
   xmlns='http://namespaces.zope.org/zope'
   xmlns:security='http://namespaces.zope.org/security'
   xmlns:browser='http://namespaces.zope.org/browser'
   xmlns:zmi='http://namespaces.zope.org/zmi'
>

  <content class=".ZPTPage.">
    <zmi:factory
        id="ZPTPage"
        permission="Zope.ManageContent"
        title="ZPT Page"
        description="A simple, content-based Page Template" />
    <security:require permission="Zope.View"
                      attributes="content_type __call__" />

    <security:require permission="Zope.ManageContent"
                      interface=".ZPTPage.IZPTPage" />
    <security:require permission="Zope.View"
                      interface=".ZPTPage.IRenderZPTPage" />
  </content>


  <adapter
      factory="Zope.App.OFS.Annotation.AttributeAnnotations."
      provides="Zope.App.OFS.Annotation.IAnnotations."
      for=".ZPTPage." />


  <!-- tabs for ZPT Page -->

  <zmi:tabs for=".ZPTPage.IZPTPage.">
    <zmi:tab label="Edit" action="editForm.html"/>
    <zmi:tab label="View" action="."/>
    <!-- XXX This isn't working
    <zmi:tab label="Role Permissions"
             action="AllRolePermissions.html"/>
    -->
  </zmi:tabs>

  <zmi:icon for=".ZPTPage.IZPTPage." file="zpt.gif" />

  <include package=".Views" />

</zopeConfigure>

=== Removed File Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/zptpage.zcml ===