23 Apr
2002
23 Apr
'02
7:41 p.m.
Maik Jablonski writes:
On Tue, 23 Apr 2002 11:18:14 +0200 "William GARCIA" <wgarcia@esrf.fr> wrote:
<dtml-if "_['sequence-item'].getProperty('State')='private'">
you must use == instead of = for comparisions in python.
<dtml-if "_['sequence-item'].getProperty('State')=='private'"> Additionally, you probably must use "_.getitem('sequence-item')" to get the object and not the result of it being rendered.
Dieter