Nuxeo mailing list archives
[CPS-devel] transition guard contexts
Joachim Schmitz
js at aixtraware.de
Wed Nov 15 12:04:12 CET 2006
hi
I try to implement a python script as a transition-guard. So I specified
python: here.myguard(transition, state_change) as guard expression.
I trigger the transition with doActionFor(object,transition)
the myguard-script is called,
but transition is None, also state_change.transition is None.I expected
that here the current transition-object is passed.
Is this a bug or feature, or how do I find out what the current
transition is in my guard_script ?
also transition
--
Mit freundlichen Grüßen Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.