Re: [Zope-dev] Creating a variable in a DTML method that may be modified

2003-02-04 Thread Jeff Rush
Other than explictly passing arguments, the shareable namespace, _, is the logical place to exchange such variables btw DTML and Script(Python). However, the namespace object, a TemplateDict, only allows you to PUSH/POP spaces, not set/change variables, so you have to find or provide something

[Zope-dev] Creating a variable in a DTML method that may be modified

2003-02-04 Thread Asad Habib
Hello. Does anyone know how to create a variable in a DTML method which may be updated by a Python script? I am currently using the set method of the REQUEST object to create a variable. However, creating a variable in this fashion renders it permanent. Any help would be appreciated. Thanks. -Asad