traversePathElement(obj, name, further_path, default=<object object at 0x403d9518>, traversable=None, request=None)
Traverse a single step name
relative to the given object.
name
must be a string. '. and
..' are treated specially, as well as
names starting with @
or +
. Otherwise name
will be treated as a
single path segment.
further_path
is a list of names still to be traversed. This method
is allowed to change the contents of further_path
.
You can explicitly pass in an ITraversable as the traversable
argument. If you do not, the given object will be adapted to ITraversable.
request
is passed in when traversing from presentation code. This
allows paths like @@foo to work.
Raises TraversalError if path cannot be found and default
was
not provided.