[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
webmaster@zope.org
webmaster@zope.org
Thu, 26 Sep 2002 01:35:14 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#1-2
---------------
Here's a very tricky error that almost all newbies encounter.
Imagine you have a DTML Document called *zooName*. This
document contains an HTML form like the following::
<dtml-var standard_html_header>
<dtml-if zooName>
<p><dtml-var zooName></p>
<dtml-else>
<form action="<dtml-var URL>" method="GET">
<input name="zooName">
<input type="submit" value="What is zooName?">
</form>
</dtml-if>
<dtml-var standard_html_footer>
% Anonymous User - June 15, 2002 10:02 am:
Why wouldn't the form action code use a Zope object name instead of the URL variable? I thought that in one
of the previous examples form actions were more object-oriented than this.
% Anonymous User - Aug. 24, 2002 5:25 am:
I recieve:
Zope has encountered an error while publishing this resource.
Error Type: SystemError
Error Value: Excessive recursion
?
% Anonymous User - Sep. 26, 2002 1:35 am:
:) thats the idea! Cary on reading..