[Zope-CMF] Object action rendering in CMFDecor

Tres Seaver tseaver@zope.com
06 Dec 2001 11:06:09 -0500


On Thu, 2001-12-06 at 10:58, Jan Torben Heuer wrote:
> Am Donnerstag, 6. Dezember 2001 09:14 schrieb John Morton:
> 
> > As a consequence, a product component I'm writing, which only has one
> > action, doesn't get that action added. However, I'm assuming a code snippet
> > like the above one doesn't happen by accident - why only render actions if
> > there's more than one? Do the circumstances that require that behaviour
> > still exist?
> If you have just one action, what do you want to choose? If you can just view 
> an item, why need an additional view link?

You have hit the nail squarely on the head:  for sites where anonymous
viewers always have just the "View" action, showing the actions box is
annoying and redundant.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com