Re: [Zope] Expression Evaluation Problem (Newbee Question)
30 Jan
2000
30 Jan
'00
6:18 p.m.
On Sun, 30 Jan 2000 12:20:49 +0100 (MET) Borno Janekovic <Borno.Janekovic@gmx.de> wrote:
but if I do a check like <dtml-if "xtype ==1"> I get no matching.
I hit this. The problem is a question of types. xtype is of type string (probably), and your literal '1' is of type int, so the comparison fails. Try this: <dtml-if "_.int(xtype) == _.int(1)"> -- J C Lawrence Home: claw@kanga.nu ----------(*) Other: coder@kanga.nu --=| A man is as sane as he is dangerous to his environment |=--
9563
Age (days ago)
9563
Last active (days ago)
0 comments
1 participants
participants (1)
-
J C Lawrence