24 Feb
2003
24 Feb
'03
11:49 p.m.
Okay, I have developed a product. When an instance of the product is called from DTML like, <dtml-var object>, REQUEST is not available. If I call a python script or a DTML Method from DTML REQUEST is available. The __call__ method is defined like this: def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw): if REQUEST == {}: print "No REQUEST defined" else: print "REQUEST defined" I get "No REQUEST defined" when I call this <dtml-var object> if I call this directly it works. What am I doing wrong? How do I make my product work when called from DTML? Thanks, -Brian