17 Jan
2001
17 Jan
'01
10:34 p.m.
alan runyan writes:
for key in REQUEST['form'].keys(): "form" is an attribute (!) of REQUEST, not a key:
for key in REQUEST.form.keys():
second question: I have some searchResults() when I say <dtml-in searchResult><dtml-var sequence-item></dtml-in> (when are we going to get rid of sequence-item?) I get instance None instance ....
but <dtml-in searchResults> <dtml-if "_['sequence-item']!=None"> Do you get a NameError None? You need (probably, depending what type of objects you "searchResult" returns) "_.None".
Dieter
9211
Age (days ago)
9211
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer