[Zope] get an object based on URL???

Kevin Dangoor kid@kendermedia.com
Sat, 22 Apr 2000 16:08:18 -0400


----- Original Message -----
From: "Kevin Howe" <khowe@performance-net.com>
To: "ZOPE Mailing List" <zope@zope.org>
Sent: Saturday, April 22, 2000 3:40 PM
Subject: [Zope] get an object based on URL???


> but it seems like the whole premise of Zope is translating URLs into
> Objects, is there a routine that can be used in DTML to translate the URL
to
> an object reference?
>
> Example:
>         <!--#with " ObjectFromURL( 'http://domain/my/object' ) "-->
>             <!--#var id --><br>
>         <!--#/with-->

<dtml-with "REQUEST.resolve_url('http://domain/my/object')">
  <dtml-var id>
</dtml-with>

Kevin