[Zope-CMF] How do you add an action in python code?

Suresh V. suresh_vv at yahoo.com
Fri Jun 18 03:42:22 EDT 2010


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?

Suresh



More information about the Zope-CMF mailing list