[Zope] different namespaces in a python script by calling it by<dtml-var xxx> and <dtml-var "xxx()">?

Chris Withers chrisw@nipltd.com
Thu, 19 Jul 2001 12:13:14 +0100


Grégoire Weber wrote:
> 
>   <dtml-var xxx> --> foo

This is the equivalent of:
<dtml-var "xxx(_.None,_)">

>   <dtml-var "xxx()"> --> sort_order not defined

...so this is obviously wrong sicne you're not passing the namespace.

This is confusing, isn't it?

cheers,

Chris