[Zope] Accessing attributes - object with 'implicit' period in id

Sumiya Sakoda sakoda@toyoake.or.jp
Wed, 29 May 2002 15:59:09 +0900


hi,all!

John> I want to get the height and width attributes from each thumbURL item
John> and use them in the img tag attributes.  But:

John> height="<dtml-var thumbURL.height>" does not work, giving:

try

<dtml-var "_.getattr(FolderName, 'thumbURL')">

getattr returns width, heigh, and title.

--
                                  Sumiya Sakoda <sakoda@toyoake.or.jp>