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

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/DTML.stx#3-20

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

      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.

        % Anonymous User - Dec. 23, 2003 12:40 am:
         The "pricelist method" will "acquire" its title "Bob's Fancy Feedbags" from the properties of its parent
         folder "Feedbags". So yes, the photograph above is incorrect.

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.