[Zope] <dtml-var foo> vs. <dtml-var expr="foo()">

Chris Withers chris at simplistix.co.uk
Wed Jan 21 04:27:38 EST 2004


J. Cameron Cooper wrote:

> Part of the DTML magic is that it needs a namespace given to it. When 
> you use the first syntax, this is done automagically. When you use the 
> second, no magic is done, so you're required to do it. Take a look for 
> documents explaining how to call DTML from ZPT for examples. (This sort 
> of confusion is one of many reasons I will usually recommend against DTML.)

Hehe, me too, go for ZPT from the start every time ;-)

cheers,

Chris




More information about the Zope mailing list