23 Feb
2004
23 Feb
'04
8:49 p.m.
thanks Paul, you're very patient. Unfortunately, I still can't set the FORM section of the REQUEST. I keep getting the error: 'dict' object has no attribute 'set' for either of the following scripts. Any ideas where I am going wrong? Python Script ------------------------------- #Get the HTML request object myrequest = container.REQUEST #preset the request field myrequest.form.set('aformfield', 'a value') #go to the form return context.theform(REQUEST=myrequest) Python Script ------------------------------- #preset the request field container.REQUEST.form.set('aformfield', 'a value') #go to the form return context.theform(REQUEST=container.REQUEST)