[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL - xul.zcml:1.1.4.2.2.3

Steve Alexander steve@cat-box.net
Mon, 3 Jun 2002 18:57:47 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL
In directory cvs.zope.org:/tmp/cvs-serv30105/lib/python/Zope/App/OFS/Content/Folder/Views/XUL

Modified Files:
      Tag: Zope3InWonderland-branch
	xul.zcml 
Log Message:
wonderland updates to zcml files.


=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL/xul.zcml 1.1.4.2.2.2 => 1.1.4.2.2.3 ===
   <!-- Loaded Folder View Directives -->
 
-  <browser:view name="main_xul"
-    for="Zope.App.OFS.IContainer.IReadContainer."
-    factory="Zope.App.OFS.Content.Folder.Views.XUL.Main." />
-
-  <security:protectClass 
-    class="Zope.App.OFS.Content.Folder.Views.XUL.Main."
-    permission="Zope.ManageContent" names="index menu" />
-
-  <browser:view name="tree"
-    for="Zope.App.OFS.IContainer.IReadContainer."
-    factory="Zope.App.OFS.Content.Folder.Views.XUL.Tree." />
-
-  <security:protectClass 
-    class="Zope.App.OFS.Content.Folder.Views.XUL.Tree."
-    permission="Zope.ManageContent" names="getRDFTree" />
-
-  <browser:view name="limit_xul"
-    for="Zope.App.OFS.IContainerLimit."
-    factory="Zope.App.OFS.Content.Folder.Views.XUL.SetLimit."/>
-
-  <security:protectClass 
-    class="Zope.App.OFS.Content.Folder.Views.XUL.SetLimit."
-    permission="Zope.ManageContent" names="index action action_js" />
-
-  <browser:view name="XULLimitFieldView"
-    for="Zope.App.OFS.IContainerLimit."
-    factory="Zope.App.OFS.Content.Folder.LoadedFolderFields.LimitField. Zope.App.Formulator.Widgets.XUL.TextWidget." />
+  <browser:view
+      name="main_xul"
+      for="Zope.App.OFS.IContainer.IReadContainer."
+      factory=".Main." />
+
+  <content class=".Main."
+    <security:require
+        permission="Zope.ManageContent"
+        attributes="index menu" />
+  </content>
+  
+  <browser:view
+      name="tree"
+      for="Zope.App.OFS.IContainer.IReadContainer."
+      factory=".Tree." />
+
+  <content class=".Tree."
+    <security:require
+        permission="Zope.ManageContent"
+        attributes="getRDFTree" />
+  </content>
+
+  <browser:view
+      name="limit_xul"
+      for="Zope.App.OFS.IContainerLimit."
+      factory=".SetLimit."/>
+
+  <content class=".SetLimit."
+    <security:require
+        permission="Zope.ManageContent"
+        attributes="index action action_js" />
+  </content>
+
+  <browser:view
+      name="XULLimitFieldView"
+      for="Zope.App.OFS.IContainerLimit."
+      factory="Zope.App.OFS.Content.Folder.LoadedFolderFields.LimitField.
+               Zope.App.Formulator.Widgets.XUL.TextWidget." />
 
 </zopeConfigure>