[Zope] Acquisition

Axel Missbach Axel.Missbach@t-online.de
Sat, 17 Mar 2001 14:08:00 +0100


Hi,
i'm very confused about how acquisition works.
I want to build an database-aplication with an scheme like that:

In the rootfolder is a DTML-Object called Browser. This on calls an
DTML-Object view, which handels the database-tabel-view.

In ever subfolder there is a special view-Object.

/Browser { <dtml-var view> }
       /tabel1/view{view definition}
              /index_html {<dtml-var Browser>}
       /tabel2/view{view definition}
              /index_html{<dtml-var Browser>}
....

Calling /Browser/tabel2/index_html calls not /Browser/table2/view
because, i think, acquisition looks in the current folder and downwards,
BUT not in the calling folder.

Where is my failure? 
Is there another (better) way to do it?

with regards
Axel