[Zope] Using filesystem Python Scripts

Andy McKay andy@agmweb.ca
Fri, 24 Jan 2003 08:43:35 -0800


> I try to execute the script, processProperties, from inside
> manage_propertiesForm.dtml. Right now, I am using a simple
>         <dtml-var "processProperties">
> call. However, I get a NameError saying that processProperties is not
> defined. Here is my traceback:

You have to have scripts in the namespace. Do a <dtml-with 
scripts><dtml-var...></dtml-with>. If you've used the CMF it uses portal 
skins to mangle the path a bit so they are all on the same "level"
-- 
   Andy McKay