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

pieter.claerhout@pandora.be pieter.claerhout@pandora.be
Tue 22 Jan 2002 01:38:44 MET


Try the following instead:

<dtml-var expr="_.getitem('image').absolute_url()">

You need to specify the brackets since absolute_url is a method,
and not a property.

Cheers,


Pieter

------------------------
 sree@indiacares.org wrote:
------------------------
	
>Dear friends,
>I tried this but the result is :
>
>
>Output in browser:  
>
>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" 
>To: 
>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 )
>
>
>
>_______________________________________________
>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 )
>