[Zope] Expression Evaluation Problem (Newbee Question)

Stephan Richter srichter@cbu.edu
Sun, 30 Jan 2000 05:45:26 -0600


> - but if I do a check like
>    <dtml-if "xtype ==1"> I get no matching.
You did not declare xtype to be an integer. You can do that with
<dtml-if "_.int(xtype) == 1">. But you can also declare the variable from the
very beginning as integer, so you don't have to cast it in the if statement:
<input type=checkbox name=xtype:int value=1>

Have fun und einen schoenen Sonntag noch,
Stephan
--
Stephan Richter
iXL - Software Designer and Engineer
CBU - Physics, Computer Science and Chemistry Student