[Zope] pb with the function getProperty

Maik Jablonski maik.jablonski@uni-bielefeld.de
Tue, 23 Apr 2002 13:40:39 +0200


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'">

-mj