[Zope] Re: DTML calling explained
Wed, 2 May 2001 13:06:52 -0500
From: "Brad Clements" <firstname.lastname@example.org>
> Adding REQUEST solved my problem. I had also tried adding _ but that
> from pythonscript even though _ was bound to the dtml namespace.
That's probably because your Script wasn't being called from DTML, and
therefore had an empty namespace.
> pythonscript ProcessPath calls DTML Method ProductInfo which dtml-var
> Method Standard_Html_Header.
> If ProcessPath includes REQUEST in it's call to ProductInfo, all is
well. But if
> REQUEST is not included, then I get a KeyError on the <dtml-unless
Hmm. I'm not sure why that is. I'll have to look into it.
Evan @ digicool & 4-am