[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/Views/Browser - browser.zcml:1.1.2.2.2.5

Jim Fulton jim@zope.com
Wed, 5 Jun 2002 11:18:29 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv20512/lib/python/Zope/App/OFS/Services/LocalEventService/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/OFS/Services/LocalEventService/Views/Browser/browser.zcml 1.1.2.2.2.4 => 1.1.2.2.2.5 ===
    xmlns:browser='http://namespaces.zope.org/browser'
 >
-  <content class=".Control.">
-    <security:require
-        permission="Zope.ManageServices" 
-        attributes="index"/>
-  </content>
-
   <browser:defaultView 
-      name="control"
+      name="control.html"
       for="Zope.Event.IEventService+"
+      permission="Zope.ManageServices" 
       factory=".Control." />
 
   <zmi:tabs for="Zope.Event.IEventService+">
-    <zmi:tab label="Control" action="view::control"/>
+    <zmi:tab label="Control" action="./view::control.html" />
   </zmi:tabs>
 
 </zopeConfigure>
+
+
+
+