[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML

webmaster@zope.org webmaster@zope.org
Tue, 24 Sep 2002 14:16:35 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-31

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

      A very simple and enlightening example is to simply print the REQUEST
      out in an HTML page::

        <dtml-var standard_html_header>

        <dtml-var REQUEST>

        <dtml-var standard_html_footer>

        % Anonymous User - Aug. 18, 2002 7:49 am:
         should HTML page be DTML Document ?? --RAW--

        % Anonymous User - Sep. 24, 2002 2:14 pm:
         It is also a very useful debugging technique.
         The REQUEST objects __call__-method gives a suitable HTML representation string of itself.

        % Anonymous User - Sep. 24, 2002 2:16 pm:
         dtml-var does not print! it inserts a string. HTML output usually is not printed, but displayed by a browser.