Wha?  What are 'key_name1' and 'key_name2' in reality?

----- Original Message ----- 
From: "Morten W. Petersen" <[EMAIL PROTECTED]>
To: "Chris McDonough" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 2:30 PM
Subject: Re: [Zope-dev] REQUEST and values stored there


> On Wed, 4 Apr 2001, Chris McDonough wrote:
> 
> > What breaks?  There was no intention to break code or change the API.
> 
> Code that looked like this:
> 
> REQUEST['key_name1']
> REQUEST['key_name2']
> 
> Now has to be changed to this:
> 
> REQUEST.form['key_name1']
> REQUEST.form['key_name2']
> 
> (The former method raises a KeyError.)
> 
> These problems started to appear in the 2.3.x tree.
> 
> -Morten
> 
> 


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to