[Zope-CMF] [dev] two small changes
Encolpe DEGOUTE
edegoute at nuxeo.com
Wed Feb 4 07:52:27 EST 2004
Dans local.lists.zope.zope-cmf yuppie écrivit:
| Hi!
|
|
| I'd like to make the following 2 changes in CMF HEAD. Please let me know
| if there are any objections.
|
|
| 1.) Add a 'getActionInfo' shortcut method to DynamicType
|
| There is already a shortcut for getTypeInfo in DynamicType. I'd like to
| add one for code like this:
|
| ti = context.getTypeInfo()
| view_action = ti.getActionInfo('object/view', context)
|
| With the shortcut we could write instead:
|
| view_action = context.getActionInfo('object/view')
Is the usecase workflow_transition.getAtcion('object/view') to
implemented?
--
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