[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - pagefolder.zcml:1.7

Jim Fulton jim at zope.com
Mon Dec 15 09:37:32 EST 2003


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

Modified Files:
	pagefolder.zcml 
Log Message:
Gave page folders and add menu.


=== Zope3/src/zope/app/browser/services/pagefolder.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/services/pagefolder.zcml:1.6	Fri Nov 21 12:11:15 2003
+++ Zope3/src/zope/app/browser/services/pagefolder.zcml	Mon Dec 15 09:37:31 2003
@@ -11,6 +11,20 @@
       class="zope.app.browser.container.contents.JustContents"
       attribute="index" />
 
+  <view
+      for="zope.app.services.pagefolder.IPageFolder"
+      name="+"
+      menu="zmi_actions" title="Add"
+      class="zope.app.browser.container.adding.Adding"
+      permission="zope.ManageServices"
+      allowed_attributes="addingInfo"
+      usage="addingdialog" >
+
+    <page name="index.html"  attribute="index" />
+    <page name="action.html" attribute="action" />
+
+  </view>
+
   <page name="contents.html"
         for="zope.app.services.pagefolder.IPageFolder"
         permission="zope.ManageServices" 
@@ -27,14 +41,6 @@
         class=".pagefolder.PageFolderDefaultConfiguration" 
         />
 
-  
-  <!-- Override the add action with a link to add a template -->
-  <menuItem
-     menu="zmi_actions"
-     for="zope.app.services.pagefolder.IPageFolder"
-     title="Add"
-     action="contents.html?type_name=zope.app.services.zpt.ZPTTemplate"
-     permission="zope.ManageServices" />
 
   <menuItem
      menu="add_component"




More information about the Zope3-Checkins mailing list