[Zope-CMF] Re: [dev] two small changes
Encolpe DEGOUTE
edegoute at nuxeo.com
Wed Feb 4 09:29:13 EST 2004
Dans local.lists.zope.zope-cmf yuppie écrivit:
| Encolpe DEGOUTE wrote:
| > Dans local.lists.zope.zope-cmf yuppie écrivit:
| > | view_action = context.getActionInfo('object/view')
| >
| >
| > Is the usecase workflow_transition.getAtcion('object/view') to
| > implemented?
|
| WorkflowTool (CMF HEAD) implements OldstyleActionProviderBase. So you
| can use something like
|
| wftool = getToolByName(context, 'portal_workflow')
| publish_action = wftool.getActionInfo('workflow/publish', context)
|
| DCWorkflow's TransitionDefinition has no getAction or getActionInfo method.
|
| As discussed here <http://zope.org/Collectors/CMF/207> the workflow
| action implementation is old fashioned.
Yes, that's just to implement the good API in the DCWorkflow patch. ;^)
--
Encolpe DEGOUTE, Ingenieur Logiciel, Nuxeo SARL: Zope Service Provider.
Mail: edegoute at nuxeo.com - Tel: +33 (0)1 40 33 79 18
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source
More information about the Zope-CMF
mailing list