-----BEGIN PGP SIGNED MESSAGE-----
Am I right in thinking that DCWorkflow does not send any Zope 3
events? I'm not terribly familiar with that code, but some grepping
Do you agree this would be useful? (I've got a pretty strong need
for it for Plone 3, i.e. CMF 2.1 - I'm sure we can work around it
in Plone, but I'd rather do it properly)
It is definitely useful in the general migration towards more event-
I'm not quite sure where the best place to execute the event is.
One option may be DCWorkflow/DCWorkflow.py, in notifyBefore() and
notifySuccess(). Here, though, I get a bit confused about how to
construct the wf_name and state_before/state_after parameters. I
guess they're not always needed, but they seem like they'd be
useful to most event handlers.
Eyeballing the code seems to suggest
DCWorkflowDefinition._executeTransition as the place where both the
old state and the new state are known.
If events are used I'm not sure what the notify*-Methods would be
used for anymore.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests