[Zope] getting object given path
Itamar Shtull-Trauring
itamars@ibm.net
Wed, 15 Mar 2000 11:17:27 +0200
"R. David Murray" wrote:
> I know I've seen reference to a function to get an object reference
> given a URL path, but I can't seem to find it. It doesn't help
> that I've been up for more than 24 hours trying to get this code to
> work.
REQUEST.resolve_url(). URL should be unurl-quoted.
> I'm desperate to get this working for the client. getpath returns
> the correct value, so I think if I can turn that path into an
> object I can access the property sheets and get them updated. But I
> also want to know what is going wrong with my Catalog and/or
> the getobject method thereof. I'm not sure where to start looking....
getobject actually uses REQUEST.resolve_url and getpath, IIRC, so this may
not help. But give it a try.
--
Itamar S.T. itamars@ibm.net