[Zope3-Users] Adding another "special" traversal component type

Fred Drake fdrake at gmail.com
Wed Sep 20 10:04:47 EDT 2006


On 9/20/06, FB <fbo2 at gmx.net> wrote:
> Is this possible? Of course, the answer ist yes (by patching
> zope.traversing.adapters.traversePathElement) - but is there
> a more Zope3ish way to do that?

You could create a new traverser that deals with ~username names, and
register that instead of the default traverser for IContainmentRoot
(or for whatever object you want to respond to names of that form).

No hacking necessary.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Every sin is the result of a collaboration." --Lucius Annaeus Seneca


More information about the Zope3-users mailing list