[Zope-dev] A simple dtml-if question...

Jeff Nielsen / UgoFast Ugo@speakeasy.net
Thu, 7 Jun 2001 21:28:08 -0700


Hey thanks. That works.

-----Original Message-----
From: Chris Withers [mailto:chrisw@nipltd.com]
Sent: Thursday, June 07, 2001 4:43 AM
To: Jeff Nielsen / UgoFast
Cc: Christian Theune; Zope-Dev@Zope. Org
Subject: Re: [Zope-dev] A simple dtml-if question...


> 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>

<dtml-if expr="LoginResults=='Pass' and PATH_INFO=='/Maintain/Results'">
  Valid Response
<dtml-else>
  Fasle Response
</dtml-if>

cheers,

Chris