[Zope] Loosing namespace when calling a DTML-Method

Bertl bs@firstnet.dhs.org
Wed, 2 Feb 2000 04:45:29 +0100 (CET)


On Tue, 1 Feb 2000, Kevin Dangoor wrote:

> Hello,
> 
>     My first guess is that this is because of how you're calling the DTML
> method.
> 
> <dtml-var mymethod>
> 
> will automatically pass the namespace in
> 
> <dtml-var "mymethod()">
> 
> will not.
> 
> To call a method in the second form *and* get the namespace to pass along as
> well,
> <dtml-var "mymethod(_.None, _)">
> 
> Hope this does the trick...

yes, it does!

and it explains a lot of strange behaviour i experienced.

thanx!
bertl