[Zope] REQUEST Key Error

Jason Spisak 444@hiretechs.com
Mon, 15 May 2000 15:36:53 GMT


lexberezhny writes:

> Hi,
>   I am trying to get data from a form, and I am using the REQUEST variable.
> When i simple do <dtml-var REQUEST> it prints out all of the variables i
> have access to. When i try getting to a single one such as

You need quotes to evaluate the expression:

 <dtml-var "REQUEST['foo']"> 

i get a KeyError (and foo was one of the variables listed
> when i simply printed REQUEST).
> Error Type: KeyError
> Error Value: REQUEST['foo']
> 
> 
> thanks,
>   - Lex Berezhny


All my best,


Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.