[ZPT] Using PTFiles in Python Products

Dieter Maurer dieter@handshake.de
Fri, 12 Jul 2002 21:00:55 +0200


Michael R. Bernstein writes:
 > ....
 > > > You can try to rely on acquisition (this usually works, but may
 > > > not work with the ubiquitous "index_html").
 > ...
 > Unfortunately, this does not seem to be working.
 > 
 > I defined a 'library' PTFile on my container, and calling a macro in it
 > from another PTFile associated with the container works fine, but does
 > not when I try calling the same macro from a subobject.
 > 
 > Now, this *may* be due to the fact that the subobjects are stored within
 > a BTree, and are returned with an acquisition wrapper, but I can't tell.
I would use Shanes "showaq" method to analyse the acquisition structure
of these subobjects.

Apparently, there is something wrong with it. But I could not see
a fault in your code.


Dieter