Hey thanks. That works.

-----Original Message-----
From: Chris Withers [mailto:[EMAIL PROTECTED]]
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


_______________________________________________
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