[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
nobody@nowhere.com
nobody@nowhere.com
Thu, 22 Aug 2002 07:04:18 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-40
---------------
However, suppose you had a form in which a user got to select
which document they wanted to see from a list of choices. Suppose
the form had an input named *selectedDoc* which contained the name
of the document. You could then display the rendered document like
so::
<dtml-var expr="_.getitem(selectedDoc, 1)">
% Anonymous User - Aug. 22, 2002 7:04 am:
Does this work for subFOLDERS as well?