Skip to main content

Provides through-the-web editing of a zope 3 schema/interface.

Project description

Introduction

plone.schemaeditor provides a through-the-web interface for modifying Zope 3 schemata (interfaces).

Currently there is support for:

  • adding and removing fields

  • editing attributes of existing fields

  • reordering fields

  • renaming fields

plone.schemaeditor only handles the actual schema editing. To be useful, it requires some integration code to take care of the following pieces:

  • traversing to a schema that is used as the context of the editor

  • persisting schema changes across Zope restarts

See plone.app.dexterity (along with plone.dexterity and plone.supermodel) for one approach to this integration.

The following field types (from zope.schema) are currently supported:

  • TextLine

  • Text

  • Int

  • Float

  • Bool

  • Password

  • Bytes

  • Datetime

Dependencies

  • Zope 2 (Though the actual forms are z3c.form-based and not Zope 2 dependent, so it shouldn’t take too much work to refactor to work in Zope 3 as well.)

  • z3c.form

  • plone.z3cform

Despite the name, Plone is not a dependency.

Credits

Author:

Thanks to:

  • Nathan Van Gheem

  • Martin Aspeli

  • Alex Limi

Changelog

1.0b1 - unreleased

  • Fix issue with moving fields to position 0 in a schema. [davisagli]

  • List the available field type vocabulary alphabetically. [davisagli]

  • No longer provide a field factory for zope.schema.Bytes, since plone.namedfile provides a better file field and now registers its own field factories. [davisagli]

  • Fix inline validation for the field edit form. [davisagli]

  • Added ReadOnlySchemaListing for listing fields without making them editable. [davisagli]

  • CSS tweaks [davisagli]

1.0a2 - 2009-07-12

  • Changed API methods and arguments to mixedCase to be more consistent with the rest of Zope. This is a non-backwards-compatible change. Our profuse apologies, but it’s now or never. :-/

    If you find that you get import errors or unknown keyword arguments in your code, please change names from foo_bar too fooBar, e.g. add_field() becomes addField(). [optilude]

1.0a1 - 2009-05-23

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone.schemaeditor-1.0a3.tar.gz (33.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page