[Zope] Acquisition???

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


Hello,

I got the followin objects:

/reports/overview              DTML-Method
/default_html                  DTML-Document
/index_html                    DTML-Document

in index_html I try to reference one of them,
but indirect, like this. (This is my test document
to create a simple example of my problem.)

<dtml-let itemA="'default_html'">
   <dtml-var "_[itemA]">
</dtml-let>

<dtml-let itemB="'reports.overview'">
   <dtml-var "_[itemB]">
</dtml-let>


itemA will be properly displayed. itemB is not found,
a Traceback is produced:

Error Type: KeyError
Error Value: reports.overview

Why that? What to do about it?

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