[Zope-CMF] Function Removal if Item is locked.

Dieter Maurer dieter@handshake.de
Thu, 13 Mar 2003 22:19:20 +0100


Hi Tres,

Tres Seaver wrote at 2003-3-11 18:46 -0500:
 > ....
 > > My colleagues dearly wanted me to implement an additional feature:
 > > 
 > >   Provide an additional "target" field for actions. This
 > >   field is meant to control the "target" attribute of the "a"
 > >   tag and allows to present actions is a specific frame
 > >   or a separate window.
 > > 
 > > It was very easy to implement. 
 > 
 > Should be a straightforward extension to ActionInformation, no?

Indeed.

 > An
 > alternative would be to extend the actions tool to allow mapping of
 > actions more abstractly (i.e., just by 'category'+'name') to UI elements
 > like icons, javascript, target, etc.  It makes some sense to do this at
 > a higher level for consistency (e.g. so that all "object/Edit" actions
 > get the same icon, target, etc.)

Even better.

We already talked about making categories typed and registered --
for defining the context for permission checks.

We now have an additional use.


Dieter