Accessing objects given an URL (was: [Zope] FW: Reading properties from nested objects.)

Dieter Maurer dieter@handshake.de
Sun, 25 Feb 2001 21:07:34 +0100 (CET)


Michael Van Cleave writes:
 > ...
 > I cannot figure out how to use 
 > the stored absolute url to read elements off the remote object.
If the URL describes a physical path, you can use
"restrictedTraverse" (-> Zope API -> ObjectManagerItem).
If you are using virtual hosting and the URL describes
a logical (i.e. virtual) path, then "REQUEST.resolve_url"
is the correct method.


Dieter