[Zope] Embedding DTML

richard@bizarsoftware.com.au richard@bizarsoftware.com.au
Tue, 16 Jan 2001 10:28:55 +1100


Zope 2.3 CVS

I have a Python product that calls HTMLFile objects from within other
HTMLFile objects. Suppose the first file is:

    <dtml-var "page_html(this())">

and the second file, page_html, is:

    <dtml-var REQUEST>
    &dtml-URL1;

I get a KeyError on URL1. If this file is:

    <dtml-var REQUEST>
    <dtml-var "REQUEST.URL1">

then it works fine. Any clues?


     Richard

-- 
Richard Jones
richard@bizarsoftware.com.au
Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)