[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_actions.py:1.7
Andrew Sawyers
andrew@zope.com
Fri, 4 Jan 2002 14:50:35 -0500
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv10417/CMFCore/interfaces
Modified Files:
portal_actions.py
Log Message:
*Merging andrew_ttw_actions-branch into the head
*Adds TTW configuration of Action Providers
*Allows tools to have actions managed TTW
*Added unittests for ActionTool, ActionInformation, and
Expression
*Added TTW action management to all stock CMF tools
*Added Expression module for allowing actions and conditions of
actions to be TALES.
=== CMF/CMFCore/interfaces/portal_actions.py 1.6 => 1.7 ===
# listActions__roles__ = () # No permission.
def listActions(info):
- '''Returns a list of mappings describing actions. Each action
+ '''Support for the old list of mappings is currently supported:
+ Returns a list of mappings describing actions. Each action
should contain the keys "name", "url", "permissions", and
"category", conforming to the specs outlined in
portal_actions.listFilteredActionsFor(). The info argument
@@ -85,5 +86,6 @@
folder_url
content
content_url
+ The new way of doing this is....
'''