RE: [Zope] <dtml-if> no-work
6 Dec
1999
6 Dec
'99
10:21 p.m.
-----Original Message----- From: Anders Gaarsdal Holst [mailto:anders@colorweb.dk] Sent: Sunday, December 05, 1999 2:01 PM To: zope@zope.org Subject: [Zope] <dtml-if> no-work
Hi!
I have now run into yet another problem on my way to Zope nirvana: I have the following expression:
<dtml-var personelID> = <dtml-var personelID_page> <dtml-if "personelID == personelID_page"> ..........................
It prints for instance: 1 = 1
But even though it prints that the two vars equals each other, it does not execute the <dtml-if> statement. Is this caused by a integer / string problem?
I'd bet 5 bucks it is. To be sure, cast them both to integers with _.int() -Michel
9618
Age (days ago)
9618
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michel Pelletier