[Zope-CMF] action_box.dtml obj.id vs getId()

Tres Seaver tseaver@digicool.com
Sat, 07 Apr 2001 00:17:10 -0400


Jens Quade wrote:
> 
> Hi,
> 
> creating a complex content type, I had some trouble with this
> source in CMFDefault/skins/generic/action_box.dtml:
> 
>    <dtml-let icon="_.getattr(obj, 'icon', '')"
>              typ="_.getattr(obj, 'Type', '')"
>              objID="obj.id"
>    >
> 
> Is there any reason why this is'nt spelled  objID="obj.getId()" instead ?

Nope, its a bug.  Please report it to the tracker so we don't
lose track:

  http://www.zope.org/Products/PTK/Tracker

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@digicool.com
Digital Creations     "Zope Dealers"       http://www.zope.org