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

webmaster at zope.org webmaster at zope.org
Thu Nov 27 11:13:53 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!

        % Anonymous User - Nov. 15, 2003 12:16 am:
         Humm, I can't say that I agree. The instructions said to put it in the folder "Feedbags" within your
         "Sandbox" folder. Besides, it should still say "Price list for " (though you were right about Sandbox's empty
         title). Oh well, we all get the point...
         ;)

        % Anonymous User - Nov. 27, 2003 11:13 am:
         To see the Figure 9-1 "Viewing the pricelist method", you must clic on the button "save changes" before
         viewing the DTML method.



More information about the ZDP mailing list