[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File/Views/Browser - configure.zcml:1.1 browser.zcml:NONE
Steve Alexander
steve@cat-box.net
Mon, 17 Jun 2002 15:33:55 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/File/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv8164/lib/python/Zope/App/OFS/Content/File/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/File/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'
>
<!-- File View Directives -->
<browser:defaultView
name="view"
for="Zope.App.OFS.Content.File.IFile."
permission="Zope.View"
factory=".FileView." />
<browser:view
name="edit"
for="Zope.App.OFS.Content.File.IFile."
permission="Zope.View"
factory=".FileEdit.">
<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="DataFieldView"
for="Zope.App.OFS.Content.File.IFile."
factory="Zope.App.OFS.Content.File.FileFields.DataField.
Zope.App.Formulator.Widgets.Browser.TextAreaWidget." />
<browser:view
name="ContentTypeFieldView"
for="Zope.App.OFS.Content.File.IFile."
factory="Zope.App.OFS.Content.File.FileFields.ContentTypeField.
Zope.App.Formulator.Widgets.Browser.TextWidget." />
</zopeConfigure>
=== Removed File Zope3/lib/python/Zope/App/OFS/Content/File/Views/Browser/browser.zcml ===