Re: [Zope] Access to DTML Document properties
11 Mar
1999
11 Mar
'99
4:16 p.m.
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
9888
Age (days ago)
9888
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wiebe Kunst