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])">

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to