15 Aug
2001
15 Aug
'01
3:57 a.m.
I am new to pagetemplates, and have to admit -- I have banged my head until its blue. I am very tired, and I need help. I have a sequence , hl_roles=['can', 'have', 'different', 'strings'], its also a attribute hanging off a object called member. I am trying to test to see if a string is in the hl_roles sequence. how do I do this? in DTML its *straight forward* <dtml-if "'different' in member.hl_roles"> I've tried tal:condition="python:'different' in member.hl_roles" and tal:condition="exists:'different' in member.hl_roles neither work. please help ~runyaga