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

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

Reply via email to