[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Object Publishing

webmaster at zope.org webmaster at zope.org
Sat Aug 16 14:12:16 EDT 2003


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZDG/current/ObjectPublishing.stx#2-33

---------------

    Normally published objects access the request and response by
    listing them in the signature of the published method. If this is
    not possible you can usually use acquisition to get a reference to
    the request. Once you have the request, you can always get the
    response from the request like so::

      response=REQUEST.RESPONSE

      % Anonymous User - Aug. 16, 2003 1:12 pm:
       an example of 'use acquisition to get the request' would be very useful here for us novices.



More information about the ZDP mailing list