[Zope] lost of namespace problem
Dieter Maurer
dieter@handshake.de
Thu, 19 Apr 2001 20:25:19 +0200 (CEST)
Ralf Kraemer writes:
> i am playing around with some menu building functions .
> the menu is renderd with some recursive calls from an mysql database
> everything part alone works fine, but if i put all of the code together
> some hard namespace problems accour, which i cant get fixed !
Almost surely, your problem occurs because you do not call
your DTML objects with the two optional but essential positional
parameters. Usually call your DTML objects like this:
<dtml-var "dtml_object(_.None,_,your_param1=v1,...)">
More info in the DTML section of
URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html
Dieter