[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser - configure.zcml:1.1 browser.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/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv8164/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser

Added Files:
	configure.zcml 
Removed Files:
	browser.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/Views/Browser/configure.zcml ===
<zopeConfigure
   xmlns='http://namespaces.zope.org/zope'
   xmlns:security='http://namespaces.zope.org/security'
   xmlns:browser='http://namespaces.zope.org/browser'
>

  <!-- ZPT Page View Directives -->

  <browser:defaultView
      name="index.html"
      for="Zope.App.OFS.Content.ZPTPage.ZPTPage.IZPTPage."
      />

  <browser:view
      permission="Zope.View"
      for="Zope.App.OFS.Content.ZPTPage.ZPTPage.IZPTPage."
      factory=".ZPTPageEval.">
      
      <browser:page name="index.html" attribute="index" />
  </browser:view>

  <browser:view
      permission="Zope.ManageContent"
      for="Zope.App.OFS.Content.ZPTPage.ZPTPage.IZPTPage."
      factory=".ZPTPageEdit." >

      <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="Zope.App.OFS.Content.ZPTPage.ZPTPage.IZPTPage."
      factory="Zope.App.OFS.Content.ZPTPage.ZPTPageFields.SourceField. 
               Zope.App.Formulator.Widgets.Browser.TextAreaWidget." />

</zopeConfigure>

=== Removed File Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/browser.zcml ===