[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates

webmaster@zope.org webmaster@zope.org
Thu, 26 Sep 2002 15:17:15 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#4-162

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

        If you use a path expression to render a DTML object, it will
        pass a namespace with 'request', 'here', and the template's
        variables already on it.  This means that the DTML object will
        be able to use the same names as if it were being published in
        the same context as the template, plus the variable names
        defined in the template.

          % Anonymous User - Apr. 29, 2002 5:38 pm:
           AGREE!

          % Anonymous User - Sep. 26, 2002 3:17 pm:
           /it will pass a namespace with request, here, and the template's variables already on it./
           ??
           i thought it will pass the "request" object as mapping, the "here" object as client and maybe the templates
           locally defined names (both local and global) and zopes calling mechanic will construct the DTML "_" under
           namespace from that?
           what did i miss? blf