[Zope] Access to DTML Document properties
Wiebe Kunst
Wiebe Kunst" <wkunst@eunet.no
Thu, 11 Mar 1999 17:16:11 +0100
Yes I did, but... I finally found out by trying:
<!--# var "_.getattr(_.getitem(art1),'title')"-->
This works like a dream.
Thanks a lot again.
Wiebe Kunst
>On Thu, 11 Mar 1999, Wiebe Kunst wrote:
>
>> A DTML document (index_html) has a property art1 which has an ID for
another
>> DTML document as value (type: string). In index_html I use: <!--#var
>> "_[_[('art1')]]"--> which renders the article. I can of course use
>
>I haven't tried it myself but is this what you tried?
>
><!--# var "_.getitem(_['art1'],0).whateverproperty"-->
>
>Pavlos
>
>