Thanks Christian, but it didn't work. I went with the long way:

    <dtml-if expr="LoginResults=='Pass'">
      <dtml-if expr="PATH_INFO=='/Maintain/Results'">
        Valid response
      <dtml-else>
        False response
      </dtml-if>
    <dtml-else>
        False response
    </dtml-if>

Jeff

-----Original Message-----
From: Christian Theune [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 1:05 AM
To: Jeff Nielsen / UgoFast
Subject: Re: [Zope-dev] A simple dtml-if question...


>
> <dtml-if expr="LoginResults=='Pass'" .and. expr="PATH_INFO=='/'">
>
hmm ... just guessing:

<dtml-if expr="( LoginResults=='adsf' && PATH_INFO=='/')">

Think so: It has to be a complete boolean expression .. so try to
combine boolean operators ...
Tell me if it worked ... :)

--
Christian Theune - [EMAIL PROTECTED]
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981

reduce(lambda x,y:x+y,map(lambda
x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to