[Zope-CMF] listFilteredActionsFor
Dieter Maurer
dieter@handshake.de
Thu, 18 Jul 2002 20:03:20 +0200
Chris McDonough writes:
> ...
> It would be more useful if listFilteredActionsFor created a copy of
> the original actions dictionary and munged certain keys and values
> if necessary, but otherwise left key/value pairs that it didn't know
> about alone. This would allow people to create key/value pairs that
> are useful (such as "action_html", which could specify some HTML to
> use as a toolbar icon or whatnot), but that are not explicitly
> supported by the "normal" action structure.
> ...
> This is in support of iconic action toolbars. Does anybody hate
> this idea (or better yet, have a better idea?)
I like the idea.
I even would prefer objects rather than dictionaries (I think,
internally, they are already objects and get converted into dictionaries).
This way, they could get even more interesting behaviour.
Dieter