[Zope] another DTML ques

Aseem Mohanty aseem@neurobehavioralsystems.com
Mon, 17 Jun 2002 07:18:43 -0700


  I have a PyScript that returns a list of strings

Somehow I am unable to do the following:

<dtml-let ll="get_list()">
  <dtml-if "'test_str' in ll">
    YES
  <dtml-else>
    NO
  </dtml-if>
</dtml-let>

I know that 'test_str' is in the list. The if test fails always.
What am I doing wrong??

TIA
AM

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================