[Zope] pb with the function getProperty

Dieter Maurer dieter@handshake.de
Tue, 23 Apr 2002 21:41:18 +0200


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