[Zope-dev] Implementing a URL path resolver
Steve Alexander
steve@cat-box.net
Thu, 18 Jan 2001 10:11:43 +0000
morten@esol.no wrote:
> Hi guys,
>
> I've been tinkling with a function that does what REQUEST.resolve_url does,
> except without it relying on having a REQUEST instance available.
Have you seen the methods restrictedTraverse and unrestrictedTraverse in
lib/python/OFS/Traversable.py ?
These would seem to do what you need. The methods restrictedTraverse is
available from DTML.
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net