zope.schemaevent

Event subscribers for zope.schema


Keywords
zope, schema, event
License
GPL-2.0+
Install
pip install zope.schemaevent==0.3

Documentation

Contents

Introduction

Enable handler for event triggered on field by adding subscriber. We make the configuration glue between zope.schema (which doesn't depend on zope.component) and zope.component.

Example:

<subscriber
   for=".interfaces.IExampleObject
        zope.schema.interfaces.IText
        zope.schema.interfaces.IFieldUpdatedEvent"
   handler=".localrolefield.set_local_role_on_object" />