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

Jim Fulton jim@zope.com
Mon, 10 Jun 2002 19:28:47 -0400


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

Added Files:
	__init__.py fields.zcml 
Log Message:
Merged Zope-3x-branch into newly forked Zope3 CVS Tree.


=== Zope3/lib/python/Zope/App/Formulator/Fields/__init__.py 1.1 => 1.2 ===
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+# 
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+# 
+##############################################################################


=== Zope3/lib/python/Zope/App/Formulator/Fields/fields.zcml 1.1 => 1.2 ===
+   xmlns='http://namespaces.zope.org/zope'
+   xmlns:formulator='http://namespaces.zope.org/formulator'
+   xmlns:security='http://namespaces.zope.org/security'
+>
+
+  <!-- formulator:registerField name="DateTimeField"
+    field="Zope.App.Formulator.Fields.Generic.DateTimeField." / -->
+
+  <formulator:registerField name="EmailField"
+    field="Zope.App.Formulator.Fields.Generic.EmailField." />
+
+  <formulator:registerField name="FileField"
+    field="Zope.App.Formulator.Fields.Generic.FileField." />
+
+  <formulator:registerField name="FloatField"
+    field="Zope.App.Formulator.Fields.Generic.FloatField." />
+
+  <formulator:registerField name="IntegerField"
+    field="Zope.App.Formulator.Fields.Generic.IntegerField." />
+
+  <content class=".Generic.IntegerField.">
+    <security:require
+        permission="Zope.ManageContent" 
+        attributes="getValue" />
+  </content>
+
+
+  <formulator:registerField name="ListField"
+    field="Zope.App.Formulator.Fields.Generic.ListField." />
+
+  <formulator:registerField name="PasswordField"
+    field="Zope.App.Formulator.Fields.Generic.PasswordField." />
+
+  <formulator:registerField name="PatternField"
+    field="Zope.App.Formulator.Fields.Generic.PatternField." />
+
+  <formulator:registerField name="StringField"
+    field="Zope.App.Formulator.Fields.Generic.StringField." />
+
+</zopeConfigure>