Part of lp.services.webapp View In Hierarchy
Note that the canonical_url part of Navigation is used outside of the browser context.
Method | __init__ | Initialize with context and maybe with a request. |
Method | traverse | Override this method to handle traversal. |
Method | redirectSubTree | Redirect the subtree to the given target URL. |
Method | publishTraverse | Shim, to set objects in the launchbag when traversing them. |
Method | all_traversal_and_redirection_names | Return the names of all the traversals and redirections defined. |
Method | stepto_traversals | Return a dictionary containing all the stepto names defined. |
Method | stepthrough_traversals | Return a dictionary containing all the stepthrough names defined. |
Method | redirections | Return a dictionary containing all the redirections names defined. |
Method | browserDefault | Undocumented |
Method | _all_methods | Walk the class's __mro__ looking for methods in class dicts. |
Method | _combined_method_annotations | Walk through all the methods in the class looking for attributes |
Method | _handle_next_object | Do the right thing with the outcome of traversal. |
Method | _publishTraverse | Traverse, like zope wants. |
Raise NotFoundError if the name cannot be traversed.
This needs moving into the publication component, once it has been refactored.
This is careful to avoid evaluating descriptors.
If we have a redirection object, then redirect accordingly.
If we have None, issue a NotFound error.
Otherwise, return the object.