[Zope] newbie question about aquisition

Oleg Broytmann Oleg Broytmann <phd@phd.fep.ru>
Sat, 5 May 2001 19:30:15 +0400 (MSD)


On Sat, 5 May 2001, Tomas Mortensen wrote:
> an index_html dtml document is located in the root folder.
                ^^^^^^^^^^^^^

   This is THE problem. DTML Documents don't acquire objects - they use
objects from static path, based on their position in the ZODB.
   To make acquisition works delete index_html and recreate it as DTML
Method. DTML Methods acquire objects in expected dynamic way.

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.