[Zope] Re: Guess what? namespace issues!

Maik Jablonski maik.jablonski@uni-bielefeld.de
Mon, 12 May 2003 16:24:14 +0200


jwsacksteder@ramprecision.com wrote:
> I have two DTML methods and a one ZSQL method in a folder. I am apparently
> misunderstanding how to access the ZSQL method.
> 
> 
> The top-level DTML method contains references in the following form:
> 
> 	<dtml-var expr="show_detail(machine='D340')">

You should use:

  	<dtml-var expr="show_detail(None,_,machine='D340')">

Evertime you call DTML directly, you'll have to submit a context (None = 
current context) and a namespace (_).

Cheers, Maik