Interface
zope.app.schema.metadirectives.IVocabularyDirective

BBB: DEPRECATED

The vocabulary directive has been deprecated and will be removed in Zope 3.5. Use the utility directive instead to register the class as a named utility:

Example:

  <utility
      provides="zope.schema.interfaces.IVocabularyFactory"
      component="zope.app.gary.paths.Favorites"
      name="garys-favorite-path-references"
      />

Previous documentation

Define a named vocabulary.

This associates a vocabulary name in the global vocabulary registry with a factory. Each name may only be defined once.

Additional keyword arguments may be passed to the factory by adding additional attributes beyond those listed here. This can be useful when using vocabularies which implement various kinds of filtering.

Example:

   <vocabulary
       name="garys-favorite-path-references"
       factory="zope.app.gary.paths.Favorites" />

Base interfaces

Attributes/Fields

* = required

Methods

There are no methods specified.

Adapters

Adapters where this interface is required:

Specific Adapters

There are no specific adapters registered for this interface.

Extended Adapters

There are no extended adapters registered for this interface.

Generic Adapters

Views

Browser

Specific views

There are no views available.

Extended views

Generic views

XML-RPC

HTTP

FTP

Other