[Zope] Namespace How-To?

Ulrich Wisser u.wisser@publisher.de
Wed, 14 Feb 2001 21:50:55 +0100


Hello,

I really got mangled with namespaces and acquisition. Here
is my problem:

 From a form I call

http://site/index_html?arg1=1&arg2=2

Now index_html will do

<dtml-var "reports.overview()">

and reports.overview will do

<dtml-in "sql.CntEntries()">

But this will report a traceback due to the fact that
sql (a folder in root-folder, with all my ZSQL obj.)
is not seen. (Please find the Traceback below)

index_html         is a DTML-Method
reports.overview   is a DTML-Method
sql.CntEntries     is a ZSQL-Method

Why can't I call sql.CntEntries?

Is there anywhere a good explanantion of namespaces and
acquisition?

Thanks

Ulrich
-- 
Searchengine Know How  - Webpromotion - Optimization - Internal Search
World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg
http://www.publisher.de   Tel: +46-8-53460905    Fax: +46-8-534 609 06