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

webmaster@zope.org webmaster@zope.org
Fri, 15 Nov 2002 13:21:57 -0500


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

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

          Normally the published method returns a string which is
          considered the body of the HTTP response. The response
          headers can be controlled by calling methods on the response
          object, which is described later in the chapter. Optionally,
          the published method can return a tuple with the title, and
          body of the response. In this case, the publisher returns an
          generated HTML page, with the first item of the tuple used
          for the HTML 'title' of the page, and the second item as the
          contents of the HTML 'body' tag. For example a response of::

            ('response', 'the response')

            % Anonymous User - May 18, 2002 8:10 pm:
             Typo - "returns an generated" should be "a generated."

            % Anonymous User - Nov. 15, 2002 1:21 pm:
             profligate comma mayhem