[Zope-CMF] TTW Actions Forthcoming

Dieter Maurer dieter@handshake.de
Fri, 4 Jan 2002 20:37:31 +0100


Jeffrey P Shell writes:
 > ... my action providers are much more dynamic, returning actions depending
 > on object state ...

Andrew Sawyers writes:
 > ...
 > listActions should just return self._actions; which as
 > I described in the email was a list of ActionInformation instances.  I'd
 > assume object states would turn into conditions......

You probably know, that "ExtensionClass" (a base class of all
Zope site building classes) supportes computed attributes.

This implies that "self._action" could be context sensitive
returning different action sequences depending on context, e.g.
object states.

Of course, it would not be easy to manage such attributes TTW.
Probably, Andrews suggestion to use conditions is superior.


Dieter