[Zope] Q:

Phil Harris phil.harris@zope.co.uk
Fri, 25 May 2001 10:14:00 +0100


Easiest way is something like this:

<dtml-var expr="_.getitem(obj).document_src()">

hth

Phil
phil.harris@zope.co.uk

----- Original Message -----
From: "hell" <hell@ksksib.ru>
To: <zope@zope.org>
Sent: Friday, May 25, 2001 10:03 AM
Subject: [Zope] Q:


> HI!
>
> I m new in Zope so maybe a *STUPID* question, sorry:
>
> If i have an object's id in variable and i know where it is placed, how
can i
> refer to that object
>
> foo  is a DTMLDocument.
> ====
> <dtml-call expr="REQUEST.set('obj', 'foo')">
>
>
> How can I evalute the <obj> variable in oder to refer to foo object  like
> <dtml-var expr="eval(obj).document_src()">  e.t.c. ??
>
>
>
> --
> WBR, Dan
> ---------------
> mailto:hell@ksksib.ru
> mailto:dan@diadema.ru
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )