Skip to main content

Zope Application integration for ``zope.wfmc``

Project description

This package provides Zope application level integration of the zope.wfmc package including ZCML directives.

Detailed Documentation

Loading XPDL

XPDL can be loaded in zcml files with the xpdl tag:

>>> import os
>>> file_name = os.path.join(this_directory, 'publication.xpdl')
>>> zcml("""
...     <configure
...         xmlns="http://namespaces.zope.org/zope"
...         xmlns:wfmc="http://namespaces.zope.org/wfmc"
...         i18n_domain="test"
...         >
...
...         <wfmc:xpdl
...             file="%(file_name)s"
...             process="Publication"
...             id="example.publication"
...             integration="zope.wfmc.adapter.integration"
...             />
...
...     </configure>
... """ % locals())

Lets verify that they were configured:

>>> from zope.wfmc.interfaces import IProcessDefinition
>>> import zope.component
>>> pd = zope.component.getUtility(IProcessDefinition,
...                                'example.publication')
>>> pd
ProcessDefinition('example.publication')

>>> import zope.wfmc.adapter
>>> pd.integration is zope.wfmc.adapter.integration
True

CHANGES

0.1.2 (2007-11-02)

  • Fix package meta-data.

0.1.1 (2007-06-01)

  • Add CHANGES.txt

  • Fix setup.py to include package data correctly (zcml, xpdl, txt)

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

zope.app.wfmc-0.1.2.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file zope.app.wfmc-0.1.2.tar.gz.

File metadata

File hashes

Hashes for zope.app.wfmc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5e3d62d148898684206a67b97ae3e1a1459d8562d83f482180dc569c3e713c87
MD5 4cc8dc46b061a4167ff550e077d25edd
BLAKE2b-256 f2051ac2da3258eb108c43f553068fcd54a3979342a733ba741469ac7fa06350

See more details on using hashes here.

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