20 Jul
2001
20 Jul
'01
5:14 p.m.
Hi, I make a Python script that chooses the DTML document where to go depending on the content of a form. The target DTML doc is in the same folder as the form (DTML doc too) I'm getting tired of trying to render the object correctly: (a) Trying to play with RESPONSE.redirect(...) does not work from Python script (in fact does nothing whatever I put as argument) (b) "return container['mydtmldoc']" gives an unrendered document (c) "return container['mydtmldoc'] (_.None, _)" give an AttributeError (Error value "validate") when rendering 'mydtmldoc' Note that of course calling mydtmldoc through a web browser works perfectly. Any hint ? TIA --Gilles