[Zope] How to call 'inheritedAttribute' in ZClass dtml method

Dirksen dirksen_lau@yahoo.com
Fri, 12 Jan 2001 18:08:54 -0800 (PST)


'testb' subclasses 'testa', and wants to call 'testa.do()' in one of its dtml method. I
found in zope's source codes that zope tackles this with
"testb.inheritedAttribute('do')()". Yet this doesn't work in zclass dtml method. The
system complains not knowing 'testb'. How to refer to its zclass name? Any other ways for
a zclass to call its base class's method? Please help!

Dirksen

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/