[Zope] ZPT/DTML namespace problem

Dieter Maurer dieter@handshake.de
Wed, 2 Apr 2003 20:54:21 +0200


Danny W. Adair wrote at 2003-4-2 11:56 +1200:
 > Now my problem:
 > ----------------------------------------------------------------------------------------------------
 > <span tal:define="Log root/path/to/Log" tal:replace="Log/show_entries">The 
 > log entries of Log</span>
 > ----------------------------------------------------------------------------------------------------
 > won't work as (I) expected. Apparently - although I say "Log/show_entries", 
 > the ZPT passes "here" as the client to "show_entries".

If you do not like this, pass arguments explicitely to "show_entries":

   ... tal:replace="python Log.show_entries(Log,request)" ...


Dieter