30 Oct
2008
30 Oct
'08
1:09 p.m.
Jürgen Herrmann wrote:
i'm searching for the code where acquisition of "aPersistent.REQUEST" is handled in zope 2.10?
ZPublisher.BaseRequest in the traverse method line 401: # Traverse the URL to find the object: if hasattr(object, '__of__'): # Try to bind the top-level object to the request # This is how you get 'self.REQUEST' object=object.__of__(RequestContainer(REQUEST=request)) Hanno