[Zope-dev] Aquisition: who know how it does?

Evan Simpson evan@digicool.com
Mon, 13 Nov 2000 15:01:12 -0500


From: Coi Giovanni <coi.giovanni@prometeo.it>
> Why the acquisition get (correctly) Folder1/Folder2/img2
and the get (???)
> Folder1/doc_include_html instead of
Folder1/Folder2/doc_include_html ?

Your index_html is a DTML Document, right?  Make it a DTML
Method and all should work as you expect, since Methods
operate as though they are contained where they are found.
Documents don't, and acquisition searches the direct path to
the root before anything else.

When you write DTML that you plan to acquire, you almost
always want to use DTML Methods.

Cheers,

Evan @ digicool & 4-am