Forum OpenACS Development: Re: XoWiki

Collapse
58: Re: XoWiki (response to 1)
Posted by Nima Mazloumi on
Gurstaf, how would you recommend realising a small workflow? I would like to trigger an event after submit according to user entry like registration, package instance creating, confirmation email.
Collapse
60: Re: XoWiki (response to 58)
Posted by Gustaf Neumann on
i have this on my todo list, a convenient solution will still take some time. As always, a quick solution is easy, a full blown one is more complex. Quick solution: to fire an action in certain situations, subclass Form and FormPage and overload methods called in the interesting situations (e.g. the method save_data). This allows to call application specific calls before or after the methods in question.

if you want to go that way, just send me mail, i'll help to decouple Form and FormPage to make subclassing easier. I am quite busy until i leave for guatemala to get everything finished.