At 5:01 pm +0100 23/5/00, Andy Gates wrote:
>This one is so dumb you'll be laughing, but any help would be greatly
>I need to evaluate an IF.  That's all.  I have a variable called Action
>that's a string, and it can be null, "Add", "Update" etc.
>I try something along the lines of:
>       <dtml-if action == "add">
>               blah
>       </dtml-if>

<dtml-if "action == 'add'">

As an aside, whenever anything is in " .. " - it becomes a Python expression.
Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to