[Zope-CMF] [dev] listFilteredActionsFor and ActionProvider refactoring

Yuppie schubbe at web.de
Tue Nov 25 09:57:19 EST 2003


Hi!


The implementation of my proposal is now checked in to 
yuppie-listActionInfos-branch.

I hope the caching code in Expression.getExprContext() and 
ActionInformation.getOAI() is ok now. If you still don't like the idea 
of caching ExpressionContext and OAI, please let me know.

The code in ActionsTool._listActionInfos() provides a 'quirks mode' for 
Action Providers not implementing the ActionProvider or at least the 
OldstyleActionProvider Interface. A CMFDefault Site doesn't need that 
backwards compatibility code and all other Action Providers should be 
updated (if they don't inherit from ActionProviderBase).

Does anybody use WorkflowInformation and / or 
WorkflowTool.getActionsFor()? I guess they never were very useful and 
are obsolete now.

If there are no objections, I'll merge that branch within the next days.


Cheers,
Yuppie





More information about the Zope-CMF mailing list