18 Jun
2002
18 Jun
'02
5:46 a.m.
Aseem Mohanty wrote:
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??
Well, you're using DTML for starters ;-) The code for get_list is important here, since it's obviously not returning wha you expect it to ;-) cheers, Chris