[Zope-dev] External Method Missery
Chris Withers
chrisw@nipltd.com
Wed, 12 Jul 2000 15:05:00 +0100
Steve Alexander wrote:
> Both.
> def external_method(self, ...other args...):
> > <dtml-var "external_method(this(),...other args..."> ?
I'll go with this advice since I still can't make heads or tails which
of the two Shane thinks I need to do ;-)
Of course, it's not documented like this. I think the docs say just make
sure the def has self as the first argument...
Can someone from DC pick up the Issue I dropped in the collector
relating to this and solve the problem in some sensible way ;-)
cheers,
Chris
PS: Doing both proved to be an extremely bad idea :(
Suddenly I'm getting lots of key errors and the like.
I'm going back to what I was doing:
-self argument first in def
-call with <dtml-var "nav_tree(PARENTS[-2])">