29 Jan
2001
29 Jan
'01
4:03 p.m.
Gary Lowder wrote:
When I use "context.REQUEST.RESPONSE.redirect(URL1)" in my python script I get "NameError URL1".
That should be: RESPONSE = context.REQUEST.RESPONSE URL1 = context.REQUEST['URL1'] RESPONSE.redirect(URL1)
When I bind _ as you suggested, and use "_.RESPONSE.redirect(URL1)" I get "AttributeError RESPONSE".
Try _['RESPONSE'].redirect(_['URL1']) errr... maybe DTML wasn't so bad afterall ;-) *sigh* Chris