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

Stephan Richter srichter@cbu.edu
Mon, 1 Apr 2002 21:10:19 -0500


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

Added Files:
      Tag: Zope-3x-branch
	__init__.py fields.zcml 
Log Message:
Issue 25: Resolved by janko & srichter

This checkin fixes all the license headers of all the files that needed
fixing it. :) This was made possible by Janko Hauser's script, which is now
available in the ZopeRoot/utilities directory.

Also, cleaned up the Formualtor tag insanity!


=== Added File Zope3/lib/python/Zope/App/Formulator/Fields/__init__.py ===
##############################################################################
#
# 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.
# 
##############################################################################
"""

$Id: __init__.py,v 1.1.4.1 2002/04/02 02:10:15 srichter Exp $
"""


=== Added File Zope3/lib/python/Zope/App/Formulator/Fields/fields.zcml ===
<zopeConfigure
   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." />

  <security:protectClass 
    name="Zope.App.Formulator.Fields.Generic.IntegerField."
    permission_id="Zope.ManageContent" 
    methods="getValue" />


  <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>