[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML
nobody@nowhere.com
nobody@nowhere.com
Tue, 20 Aug 2002 11:05:42 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-31
---------------
This is basically what you might expect. Zope inserts a header, a
footer, and a title into the web page. DTML gets the values for these
variables from a number of different places. First, the *var* tag tries
to find a variable in the current object. Then it looks in the current
object's containers. Then it looks in the web request (forms and
cookies). If Zope cannot find a variable then it raises an exception,
and it stops executing the DTML.
% Anonymous User - June 6, 2002 9:24 am:
"current object's containers" what are containers? are you saying the current file's parent folder? or the
sibling folders?
% Anonymous User - June 6, 2002 9:31 am:
the current object's folder, then in turn *its* folder, then its folder, etc.
% Anonymous User - Aug. 20, 2002 11:05 am:
The preceding search order is so important I think it should have its own heading.
SL