[Zope] Equivalent of "context" ZPT variable in DTML ?

Tino Wildenhain tino at wildenhain.de
Mon May 23 01:33:20 EDT 2005


Am Montag, den 23.05.2005, 00:01 +0200 schrieb KLEIN Stéphane:
> Hello,
> 
> What is the equivalent in DTML of ZPT "context" variable ?

Its more or less the underscore: _

_ == context
this() == template (or somethimes context if its a dtmlmethod I believe)

The main problem with DTML is its lax handling of the namespaces.
(e.g. they are all put on a pile where it fishes for variables -
and its often a surprise where it finds them ;)




More information about the Zope mailing list