[Zope-dev] Traversal Stuff
Evan Simpson
evan@4-am.com
Wed, 31 May 2000 13:50:35 -0400
----- Original Message -----
From: Chris Withers <chrisw@nipltd.com>
> What this offers is having a URL like:
> http://mysite.com/folder/object/some/parameters
>
> processed by the 'object' object with a parameter of '/some/parameters'
> or better still a 'URL objects' list as a parameter.
>
> This sounds like Traversal Interface stuff so I thought now would be a
> good time to mention it given the traversal interface is being re-done.
ZSQLMethods do this in __bobo_traverse__, through a rather complicated
system of temporary traversal objects. Once the new traversal machinery is
in place, you'll be able to do it in either __bobo_traverse__ or
__before_publishing_traverse__ (the former if you want to be able to do it
all the time, the latter only during ZPublisher traversal) by manipulating
REQUEST['TraversalRequestNameStack']. The specifics of this are still in
flux.
Cheers,
Evan @ digicool & 4-am