--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 like this: brain.getObject().absolute_url()
Guys, you should really RTFM...this is documented in the ZCatalog chapterof the Zope Book: brain.getURL() is the solution. brain.getObject().absolute_url() is really the worst solution since you really load the object from the ZODB.
-aj
pgp1BuKWfjZl6.pgp
Description: PGP signature
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )