[Zope] Calling DTML from TAL

Oliver Marx oliver@tekk.dk
Wed, 5 Jun 2002 14:50:14 +0200


From:

<html metal:define-macro="page">
  <head>
   <metal:block define-slot="head">
   <title tal:content="template/title">The Title</title>
    <p>
    <tal:r replace =
"container/NFGnavCore.SiteMap(PARENTS,REQUEST,id(),initlevel=1,Meta_Types=['
Folder'])">
    </tal:r>
    </p>
  </metal:block>
  </head>
  <body>
    <div metal:define-slot="body">
    This is where the page's body text goes.
    </div>
  </body>
</html>

I get:

Error Type: Undefined
Error Value:
NFGnavCore.SiteMap(PARENTS,REQUEST,id(),initlevel=1,Meta_Types=['Folder'])
not found in
"container/NFGnavCore.SiteMap(PARENTS,REQUEST,id(),initlevel=1,Meta_Types=['
Folder'])", at line 6, column 5

why?

\Oliver
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.368 / Virus Database: 204 - Release Date: 29-05-2002