[Zope] referencing object with variable
mindlace
mindlace@imeme.net
Tue, 25 Apr 2000 21:20:08 -0600
mindlace wrote:
>
> Zopistas,
>
> This renders the DTML Document named by the cookie variable id:
> <dtml-var "_[REQUEST.cookies['id']]">
Haha! Thank you Rik for answering my question a month ago:
Rick Hoekstra wrote:
>Darran Edmundson wrote:
>>
>> Say one has an object reference and knows the
>> string id of a child node. From this info, we
>> want an object reference to the named child.
>>
>
>wouldn't
>
><dtml-var "_.getitem('<desired_ref>').<whateverproperty>">
>
>get you what you want?
Yes indeedy, Rik, that *is* what I wanted, and it saved my posterior.
Thanks!
--
ethan mindlace fremen mindlace@imeme.net
zope -&- imap email -&- mailing list
weave your web with the web at http://imeme.net