Fwd: Re: [Zope] getting aspolute url of an objevt with id="xxxxxx"
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 )
umh, you did not *call* the absolute_url method. method. try it like this: <dtml-var expr="_.getitem('image').absolute_url()"> jens On Tuesday, January 22, 2002, at 07:12 , sree wrote:
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
participants (2)
-
Jens Vagelpohl -
sree