[Grok-dev] Re: Naming a utility in hurry.workflow
lederer.dominique at gmail.com
Mon Jul 2 04:06:32 EDT 2007
Sebastian Ware wrote:
> I would like to have an arbitrary number of workflows using
> hurry.workflow. Is there any reason why this shouldn't work? Is this the
> right way to set it up?
> class Workflow(grok.GlobalUtility, workflow.Workflow):
> ...and how do I call it? (the example works without the name)
> def publish(self, **data):
> self.applyData(self.context, **data)
> Mvh Sebastian
some time ago i created a patch for hurry.workflow, which handles named workflow
utilities (but not versions). i sent it to martijn, but i guess that he did not
had time to look at it and make a new release.
More information about the Grok-dev