RE: [Zope] String compare
14 May
2003
14 May
'03
7:19 p.m.
[ Dieter Maurer]
All you need is the obvious -
<dtml-if expr="REQUEST.has_key('nol') and nol==id">
Because "id" is sometimes a method and sometimes a string, it is better to use:
<dtml-if expr="REQUEST.has_key('nol') and nol==getId()">
Right, I forgot that again! Let us hope that the poster does not use his own "id" properties but is looking for Zope's! Cheers, Tom P
8363
Age (days ago)
8363
Last active (days ago)
0 comments
1 participants
participants (1)
-
Passin, Tom