9 Mar
2004
9 Mar
'04
9:41 a.m.
Jim Anderson wrote:
Try changing Adtml_doc to
<dtml-var expr="B.Bdtml_method(_.None,_)">
the 1st argument is the client object, passing _.None means "there is no client object", which is fine most of the time. _ is the namespace, which is where all the names you use are looked up. The original way you were calling this passed no namespace, hence nothing could be found bar what could be acquired from B itself. ...and all this is why DTML sucks, and why you should learn ZPT as soon as you can... ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk