[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI/Views/Browser - browser.zcml:1.1.4.3.2.4
Jim Fulton
jim@zope.com
Wed, 5 Jun 2002 11:18:04 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv20512/lib/python/Zope/App/ZMI/Views/Browser
Modified Files:
Tag: Zope3InWonderland-branch
browser.zcml
Log Message:
Fixed up zcml and pt to reflect new way of defining views.
This changed lots of urls. Also made sure that relative urls
starting with names with :: had a preceeding "./". :-/
Had to modify some py files to accomidate these changes, including
createing some interfaces to use in security assertions.
=== Zope3/lib/python/Zope/App/ZMI/Views/Browser/browser.zcml 1.1.4.3.2.3 => 1.1.4.3.2.4 ===
<browser:defaultView
- name="simple_create"
for="Zope.App.ZMI.IGenericCreatorMarker."
- factory=".GenericCreatorView." />
+ name="simple_createForm.html"
+ />
- <content class=".GenericCreatorView.">
- <security:require
+ <browser:view
permission="Zope.View"
- attributes="index action" />
- </content>
+ for="Zope.App.ZMI.IGenericCreatorMarker."
+ factory=".GenericCreatorView.">
+
+ <browser:page name="simple_createForm.html" attribute="index" />
+ <browser:page name="simple_create.html" attribute="action" />
+
+ </browser:view>
</zopeConfigure>