[Zope] Really dumb newbie question

Andy Gates Andy.Gates@bristol.ac.uk
Tue, 23 May 2000 17:01:55 +0100


This one is so dumb you'll be laughing, but any help would be greatly 
appreciated.

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>

and whatever I try, I get "Invalid attribute name, "action", for tag 
<dtml-if Action=="add">"

Assuming that I'm not just cursed by the Zope Gods, what am I doing 
wrong?

Yeesh, I feel dumb.
----------------------
Andy Gates, Learning and Research Technology
Andy.Gates@bristol.ac.uk - ICQ#74362415