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

Phil Harris phil@harris-family.info
Tue, 22 Jan 2002 11:29:41 -0000


_.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 )