8 Mar
2004
8 Mar
'04
11:39 a.m.
Jim Anderson wrote:
Adtml_doc has the following code:
<dtml-var expr="B.Bdtml_method()">
change to: <dtml-with B> <dtml-var Ddtml_method> </dtml-with>
Bdtml_method has code that calls Aext_method in A:
Hi! <dtml-var expr="Aext_method()"> Bye!
change to: <dtml-var Aext_method>
So it seems that calling a dtml method in a subdirectory does not acquire from the subdirectory or the current directory? Can anyone explain this?
DTML sux ;-)
More importantly what is the proper way to call an external method from a dtml method being referenced in a subdirectory?
I believe it's caleld ZPT... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk