[Zope] how to get absolute url from a ZCatalog-brain

2005-10-25 Thread robert rottermann
hi there, is there a way to get the absolute url from a brain returned by a catalog serch without waking the object up. brain.absolute_url() returns the catalog's url. thanks Robert ___ Zope maillist - Zope@zope.org

Re: [Zope] how to get absolute url from a ZCatalog-brain

2005-10-25 Thread Peter Bengtsson
Without waking up the object you have to use Meta data in the catalog. Unless there's some physical path already on the brain object which can help you calculate the absolute url. With waking up the object is done like this: brain.getObject().absolute_url() On 10/25/05, robert rottermann [EMAIL

Re: [Zope] how to get absolute url from a ZCatalog-brain

2005-10-25 Thread Andreas Jung
--On 25. Oktober 2005 09:56:13 +0100 Peter Bengtsson [EMAIL PROTECTED] wrote: Without waking up the object you have to use Meta data in the catalog. Unless there's some physical path already on the brain object which can help you calculate the absolute url. With waking up the object is done