[Zope] Quick question about <dtml-if ...>

Geir Bækholt Geir Bækholt <geirh@funcom.com>
Wed, 8 May 2002 14:22:07 +0200


on or about, Wednesday, May 08, 2002, we have reason to believe that
George M. Ellenburg wrote something along the lines of :

GME> On Wednesday 08 May 2002 08:05 am, Harry Wilkinson wrote:
>> I think you want "a =3D=3D 3".

GME> Hmm, now I'm getting:
GME>  invalid parameter: " =3D=3D 1", for tag <dtml-if tip =3D=3D 1>, on li=
ne 16 of=20
GME> show_tip

<dtml-if "tip =3D=3D 1">
.. or even clearer :
<dtml-if expr=3D"tip =3D=3D 1">

eveluations like this have to be done as python expressions , hence
the quotes (they are really just a shorthand for expr=3D"" , and have
served to confuse many a newbie....)




--=20
Geir B=E6kholt                      web-developer
geirh@funcom.com             funcom oslo | webdev-team