transition guard contexts
Joachim Schmitz <[email protected]>
| Newsgroups | gmane.comp.web.zope.cps.devel |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel