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
> views).
> Can someone give me a pointer?

There is no special API. ActionCategory inherits from OFS.OrderedFolder, 
you can use the _setObject method.

HTH, Yuppie
Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to