[Zope-CMF] Object action rendering in CMFDecor
John Morton
jwm@plain.co.nz
Thu, 6 Dec 2001 21:14:31 +1300
The block of zpt code that renders object specific actions only does so if
there are more than one, due to this line:
<tr class="ContextActionsRow"
tal:condition="python: len( object_actions ) > 1"
>
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?
John