[Zope] <dtml-if>

Hannu Krosing hannu@tm.ee
Sat, 04 Mar 2000 16:08:29 +0200


Pierre-Julien GRIZEL wrote:
> 
> 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>


if you mean  and <dtml-if "(OUTPUT == 'PROENG') and 'MATRIX'">

then it is equivalent to <dtml-if "OUTPUT='PROENG'">

if OTOH you mean  and <dtml-if "OUTPUT == ('PROENG' and 'MATRIX')">

it is same as <dtml-if "OUTPUT=='MATRIX'">


which one did you mean ?

----------------
Hannu