* Stephan Goeldi <[EMAIL PROTECTED]> [001109 16:49]:
> <dtml-in money>
> <dtml-if "1000">
> This is not much!
> </dtml-if>
> <dtml-if "5000">
> This is ok!
> </dtml-if>
> <dtml-if "10000">
> This is very much!
> </dtml-if>
> </dtml-in>
>
> I am sure that there is an error in my thinking of these tags.
yup :)
try
<dtml-if "money==1000">
This is not much
<dtml-elif "money==5000">
This is OK
<dtml-elif "money==10000">
This is very much
<dtml-else>
This is not 1000, 5000, or 10000
</dtml-if>
the <dtml-in> tag iterates over a list, which isn't appropriate here.
seb
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )