Fwd: Re: [Zope] getting aspolute url of an objevt with id="xxxxxx"

sree sree@indiacares.org
Tue, 22 Jan 2002 17:42:48 +0530


Dear friends,
I tried this but the result is :
<dtml-var expr="_.getitem('image').absolute_url">

Output in browser:  <Python Method object at 01DD7AA0>

Please help.
Regards,
  -  sree

-----Original Message-----
From: "Phil Harris" 
_.getitem('xxxxxx').absolute_url()

this assumes that xxxxxx is in the acquisition path

----- Original Message ----- 
From: "sree" <sree@indiacares.org>
To: <zope@zope.org>
Sent: Tuesday, January 22, 2002 5:23 AM
Subject: [Zope] getting aspolute url of an objevt with id="xxxxxx"


> Dear friends,
> Greetings!
> 
> I have encountered a situation where i know the id of the object. I 
> need to get the absolute url of this object. How do  i get this?
> 
> Regards,
>   -  sree
> 
> 
> 
> _______________________________________________
> 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 )