[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/DTMLPage/Views/Browser - configure.zcml:1.3

Stephan Richter srichter@cbu.edu
Wed, 10 Jul 2002 23:51:31 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/DTMLPage/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv4873/lib/python/Zope/App/OFS/Content/DTMLPage/Views/Browser

Modified Files:
	configure.zcml 
Log Message:
- Added descriptions to last Services

- Removed old-style menu entries

- Started more aggressivly to convert ZCML to Steve's style suggestions


=== Zope3/lib/python/Zope/App/OFS/Content/DTMLPage/Views/Browser/configure.zcml 1.2 => 1.3 ===
 <zopeConfigure
-   xmlns='http://namespaces.zope.org/zope'
-   xmlns:browser='http://namespaces.zope.org/browser'
-   package="Zope.App.OFS.Content.DTMLPage"
->
-
-  <!-- DTML Page View Directives -->
-
-  <browser:defaultView
-      name="index.html"
-      for=".DTMLPage.IDTMLPage."
-      />
-
-  <browser:view
-      permission="Zope.View"
-      for=".DTMLPage.IDTMLPage."
-      factory=".Views.Browser.DTMLPageEval.">
-      
-      <browser:page name="index.html" attribute="index" />
-  </browser:view>
-
-  <browser:view
-      permission="Zope.ManageContent"
-      for=".DTMLPage.IDTMLPage."
-      factory=".Views.Browser.DTMLPageEdit." >
-
-      <browser:page name="editForm.html" attribute="index" />
-      <browser:page name="edit.html" attribute="action" />
-
-  </browser:view>
-
-  <!-- Registering all the field views for the browser -->
-
-  <browser:view
-      name="SourceFieldView"
-      for=".DTMLPage.IDTMLPage."
-      factory=".DTMLPageFields.SourceField. 
-               Zope.App.Formulator.Widgets.Browser.TextAreaWidget." />
-
-  <!-- tabs for DTML Page -->
-
-  <browser:menuItems menu="zmi_views" for=".DTMLPage.IDTMLPage.">
-    <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=".DTMLPage.IDTMLPage." file="dtml.gif" />
-
-  <browser:menuItem menu="add_content"
-      for="Zope.App.OFS.Container.IAdding."
-      title="DTML Page" action="DTMLPage"
-      description="An object for dynamic content based on Document Templates."
-  />
+   xmlns="http://namespaces.zope.org/zope"
+   xmlns:browser="http://namespaces.zope.org/browser"
+   package="Zope.App.OFS.Content.DTMLPage">
+
+<!-- DTML Page View Directives -->
+
+<browser:defaultView
+    name="index.html"
+    for=".DTMLPage.IDTMLPage." />
+
+<browser:view
+    permission="Zope.View"
+    for=".DTMLPage.IDTMLPage."
+    factory=".Views.Browser.DTMLPageEval.">
+    
+  <browser:page name="index.html" attribute="index" />
+</browser:view>
+
+<browser:view
+    permission="Zope.ManageContent"
+    for=".DTMLPage.IDTMLPage."
+    factory=".Views.Browser.DTMLPageEdit." >
+
+  <browser:page name="editForm.html" attribute="index" />
+  <browser:page name="edit.html" attribute="action" />
+
+</browser:view>
+
+<!-- Registering all the field views for the browser -->
+
+<browser:view
+    name="SourceFieldView"
+    for=".DTMLPage.IDTMLPage."
+    factory=".DTMLPageFields.SourceField. 
+             Zope.App.Formulator.Widgets.Browser.TextAreaWidget." />
+
+<!-- tabs for DTML Page -->
+
+<browser:menuItems menu="zmi_views" for=".DTMLPage.IDTMLPage.">
+  <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=".DTMLPage.IDTMLPage." file="dtml.gif" />
+
+<browser:menuItem menu="add_content"
+    for="Zope.App.OFS.Container.IAdding."
+    title="DTML Page" action="DTMLPage"
+    description="An object for dynamic content based on Document Templates." />
 
 </zopeConfigure>