[Zope] Aquisition and supermethod calls
Daniel Mahler
mahler@cyc.com
Mon, 11 Feb 2002 10:33:14 -0600
Hi,
I was wonder how one should do an analog
of supermethod calls for aquisition.
For example I may want the index_html
in some folder to wrap some information
around the aquired index_html.
I have come up with the incantation
+++++ index_html ++++
some added stuff
<dtml-var "PARENTS[1].index_html(this(),REQUEST,RESPONSE)">
some more added stuff
++++++++++++++++++++++
This, however, leads to infinite recursion errors if
the new index_html is itself being acquired.
Is there a better way to do what I want?
[Using header and footer methods will not help,
since "index_html" is not the the method
I am actually working with]
thanks
Daniel