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

Jim Fulton jim@zope.com
Thu, 20 Jun 2002 16:00:53 -0400


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

Modified Files:
	configure.zcml 
Log Message:

Gary and Jim implemented most of:
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/AddMenuProposalAndEndOfZmiNamespace

A lot of clean up is needed, including:

- Implementation additional add menus, for example for services.

- Ripping out old unused implementation.





=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/configure.zcml 1.4 => 1.5 ===
    xmlns='http://namespaces.zope.org/zope'
    xmlns:browser='http://namespaces.zope.org/browser'
-   xmlns:zmi='http://namespaces.zope.org/zmi'
 >
 
   <content class=".ZPTPage.">
-    <zmi:factory
+    <factory
         id="ZPTPage"
         permission="Zope.ManageContent"
         title="ZPT Page"
@@ -25,19 +24,6 @@
       provides="Zope.App.OFS.Annotation.IAnnotations."
       for=".ZPTPage." />
 
-
-  <!-- tabs for ZPT Page -->
-
-  <browser:menuItems menu="zmi_views" for=".ZPTPage.IZPTPage.">
-    <browser:menuItem title="Edit" action="editForm.html"/>
-    <browser:menuItem title="View" action="."/>
-    <!-- XXX This isn't working
-    <browser:menuItem title="Role Permissions"
-             action="AllRolePermissions.html"/>
-    -->
-  </browser:menuItems>
-
-  <browser:icon name="zmi_icon" for=".ZPTPage.IZPTPage." file="zpt.gif" />
 
   <include package=".Views" />