[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Basic DTML

webmaster at zope.org webmaster at zope.org
Wed Nov 5 03:51:21 EST 2003


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/DTML.stx#3-19

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

      If you tell your browser to view the HTML source of the Workspace
      frame, you will see something not unlike the below::

        <html><head><title>Feedbags</title></head><body bgcolor="#FFFFFF">

        <h1>Price list for </h1>

        <p>Hemp Bag $2.50</p>
        <p>Silk Bag $5.00</p>

        <p><a href="http://www.zope.org/Credits" target="_top">
           <img src="http://localhost:8080/p_/ZopeButton"
                width="115" height="50" border="0" alt="Powered by Zope" />
           </a>
        </p>
        </body>
        </html>

        % Anonymous User - Oct. 30, 2003 3:37 pm:
         ERROR HTML output should as well show Bob's Fancy Feedbags

        % Anonymous User - Nov. 5, 2003 3:51 am:
         The example is correct since it is using DTML Methods and not DTML Documents. The <dtml-var title> should
         refer to the "Sandbox"'s title, which is empty in this case.
         >>> For this chapter, unless stated otherwise, use DTML Methods to hold the example DTML text, as opposed to
         DTML Documents!



More information about the ZDP mailing list