[Zope] Getting named variables passed to DTML callable

Phill Hugo phill@fortune-cookie.com
Mon, 09 Apr 2001 12:47:55 +0100


If there a simple way to get at the kw dict passed to a DTML callable?

I need to be able to determine if a variable was passed specifically
from something like...

container.DTMLMethod(context, context.REQUEST, variable='Hello World')

In the DTML Method I can use <dtml-var variable> but if this variable
was also the name of an id in the ZODB then it'll find it there.

Basically I need the equiv of <dtml-with kw only><dtml-var
variable></dtml-with> ideally available as something like <dtml-var
"this().kw"> or something

Thanks

Phill