[Zope] how to check attribute or property of a object ??

zopist zopist" <zopist@rediffmail.com
28 Nov 2001 11:26:32 -0000


hello,=0D=0AEvery dtml-image object has width and height as a default prope=
rty.=0D=0AI want to check if a dtml image object has =0D=0Awidth (attribute=
 or property) > 1=0D=0Asomething like=0D=0A<dtml-if expr=3D"objectname.len(=
'width')>1">=0D=0Ado something=0D=0A<dtml-else> do something else=0D=0A</dt=
ml-if>=0D=0Acan anybody please tell me the exact syntax ??=0D=0Acan i use l=
en ??=0D=0Athanks for the help. =0A