[Zope] How do I do REQUEST.form.set(...)?

Chris McDonough chrism@zope.com
21 Jan 2003 02:25:21 -0500


I think this will work:

REQUEST.form['__ac_name'] = user.uid

On Tue, 2003-01-21 at 02:19, Jean Jordaan wrote:
> Hi all
> 
> Basic question -- how do I do this? ::
> 
>      REQUEST.form.set('__ac_name', user.uid)
> 
> That gets
> Error Type: AttributeError
> Error Value: set
> but I need the value on REQUEST.form, not just on REQUEST,
> and I'm not coming from a form POST, but from a Python
> Script.
-- 
Chris McDonough <chrism@zope.com>
Zope Corporation