[Zope-CMF] Re: [dev] enhancing Actions: a rough proposal

Chris Withers chris at simplistix.co.uk
Tue Jan 18 14:38:32 EST 2005


yuppie wrote:
> If we want to show the Action also for 'Foo' objects, we have to modify 
> the expression like this:
> 
>     python:object.getPortalTypeName() in ('File', 'Image', 'Foo')

Okay, but what use case would lead you to write an action like this, 
rather than just putting the action on the individual type objects?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-CMF mailing list