[Zope3-checkins] CVS: Zope3/src/zope/app/schema - fieldforms.zcml:1.1.2.1

Sidnei da Silva sidnei at x3ng.com.br
Tue Aug 12 10:19:25 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/schema
In directory cvs.zope.org:/tmp/cvs-serv22953/src/zope/app/schema

Added Files:
      Tag: dreamcatcher-ttwschema-branch
	fieldforms.zcml 
Log Message:
TTWSchema: Work in progress. Made a branch so I can work without disturbing everyone else

=== Added File Zope3/src/zope/app/schema/fieldforms.zcml ===
<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:browser="http://namespaces.zope.org/browser">

  <browser:addform
      label="Add Text Field"
      name="Text Field"
      menu="add_schema_field"
      title="Text Field"
      description="A Text Field"
      content_factory="zope.schema.Text"
      for="zope.app.interfaces.utilities.ISchemaAdding"
      schema="zope.schema.interfaces.IText"
      permission="zope.ManageContent"
      fields="title description required readonly
              default min_length max_length allowed_values"
    />

  <browser:addform
      label="Add TextLine Field"
      name="TextLine Field"
      menu="add_schema_field"
      title="TextLine Field"
      description="A TextLine Field"
      content_factory="zope.schema.TextLine"
      for="zope.app.interfaces.utilities.ISchemaAdding"
      schema="zope.schema.interfaces.ITextLine"
      permission="zope.ManageContent"
      fields="title description required readonly
              default min_length max_length allowed_values"
    />

  <browser:addform
      label="Add Boolean Field"
      name="Boolean Field"
      menu="add_schema_field"
      title="Boolean Field"
      description="A Boolean Field"
      content_factory="zope.schema.Bool"
      for="zope.app.interfaces.utilities.ISchemaAdding"
      schema="zope.schema.interfaces.IBool"
      permission="zope.ManageContent"
      fields="title description required readonly
              default"
    />

  <browser:addform
      label="Add Integer Field"
      name="Integer Field"
      menu="add_schema_field"
      title="Integer Field"
      description="An Integer Field"
      content_factory="zope.schema.Int"
      for="zope.app.interfaces.utilities.ISchemaAdding"
      schema="zope.schema.interfaces.IInt"
      permission="zope.ManageContent"
      fields="title description required readonly
              default max min allowed_values"
    />

  <browser:addform
      label="Add Float Field"
      name="Float Field"
      menu="add_schema_field"
      title="Float Field"
      description="A Float Field"
      content_factory="zope.schema.Float"
      for="zope.app.interfaces.utilities.ISchemaAdding"
      schema="zope.schema.interfaces.IFloat"
      permission="zope.ManageContent"
      fields="title description required readonly
              default max min allowed_values"
    />

  <browser:addform
      label="Add Datetime Field"
      name="Datetime Field"
      menu="add_schema_field"
      title="Datetime Field"
      description="A Datetime Field"
      content_factory="zope.schema.Datetime"
      for="zope.app.interfaces.utilities.ISchemaAdding"
      schema="zope.schema.interfaces.IDatetime"
      permission="zope.ManageContent"
      fields="title description required readonly
              default max min allowed_values"
    />

</configure>



More information about the Zope3-Checkins mailing list