[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser - configure.zcml:1.1 browser.zcml:NONE
Steve Alexander
steve@cat-box.net
Mon, 17 Jun 2002 15:33:59 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv8164/lib/python/Zope/App/OFS/Content/Image/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/Image/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'
>
<!-- Image View Directives -->
<browser:defaultView
name="data"
for="Zope.App.OFS.Content.Image.Image.IImage."
permission="Zope.View"
allowed_attributes="__call__ tag"
factory=".ImageData." />
<browser:view
for="Zope.App.OFS.Content.Image.Image.IImage."
permission="Zope.ManageContent"
factory=".ImageEdit.">
<browser:page
name="editForm.html"
attribute="index" />
<browser:page
name="edit.html"
attribute="action" />
</browser:view>
<!-- Formulator directives -->
<browser:view
name="DataFieldView"
for="Zope.App.OFS.Content.Image.Image.IImage."
factory="Zope.App.OFS.Content.Image.ImageFields.DataField.
Zope.App.Formulator.Widgets.Browser.FileWidget." />
<browser:view
name="ContentTypeFieldView"
for="Zope.App.OFS.Content.Image.Image.IImage."
factory="Zope.App.OFS.Content.Image.ImageFields.ContentTypeField.
Zope.App.Formulator.Widgets.Browser.TextWidget." />
</zopeConfigure>
=== Removed File Zope3/lib/python/Zope/App/OFS/Content/Image/Views/Browser/browser.zcml ===