Suresh V. wrote:
> I have been looking at the Action* related code and have not been able
> to figure it out completely.
> I tried portal_actions.addAction(...) but this adds it under the
> "Actions" tab with the big RED deprecation warning.
> I am able to add it from the ZMI correctly, but can't trace the code
> that does the real adding (Ended up getting lost in GenericSetup browser
> Can someone give me a pointer?
There is no special API. ActionCategory inherits from OFS.OrderedFolder,
you can use the _setObject method.
Zope-CMF maillist - Zope-CMF@zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests