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

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to