[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Formulator/Fields - fields.zcml:1.1.4.3.2.2

Steve Alexander steve@cat-box.net
Tue, 4 Jun 2002 06:11:36 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Formulator/Fields
In directory cvs.zope.org:/tmp/cvs-serv14594/lib/python/Zope/App/Formulator/Fields

Modified Files:
      Tag: Zope3InWonderland-branch
	fields.zcml 
Log Message:
more corrections to new zcml.
some bugs in new directives fixed.
stub for "permission" in service declaration, awaiting Jim's checkins.
Zope starts!



=== Zope3/lib/python/Zope/App/Formulator/Fields/fields.zcml 1.1.4.3.2.1 => 1.1.4.3.2.2 ===
     field="Zope.App.Formulator.Fields.Generic.IntegerField." />
 
-  <security:protectClass 
-    class="Zope.App.Formulator.Fields.Generic.IntegerField."
-    permission="Zope.ManageContent" 
-    names="getValue" />
+  <content class=".Generic.IntegerField.">
+    <security:require
+        permission="Zope.ManageContent" 
+        attributes="getValue" />
+  </content>
 
 
   <formulator:registerField name="ListField"