[Zope] <dtml-if>

Pierre-Julien GRIZEL grizel@xlogx.com
Wed, 15 Mar 2000 15:07:17 +0100


Alessandra Pessolano wrote:

> I have some problems with <dtml-if> comand.
> It's possible to insert the following expression:
> <dtml-if "OUTPUT == 'PROENG' and 'MATRIX'">
>   OK
> </dtml-if>
> Is it right?
> Thanks in advance
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )

You'd better write
<dtml-if "OUTPUT == 'PROENG' and OUTPUT == 'MATRIX'">
  OK
</dtml-if>



P.-J.