[Zope] Getting an object from it's id

Max Møller Rasmussen maxm@normik.dk
Tue, 23 Jan 2001 14:39:32 +0100


From: Geoff Armstrong [mailto:geofstro@monaco.mc]

>In DTML there doesn't seem to be a way of saying, "I have this string with
>the name of an object, now fetch me the object."

Shure there is:

<dtml-var "some_container_object[remote_id].title">

As far as I remember.

regards Max M

A snippet I use somewhere:

<dtml-in "emner[_['sequence-item']].objectValues('maal')">
    <dtml-var title><br>
    <dtml-var description><br><br>
</dtml-in>