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

Chris Withers chrisw@nipltd.com
Thu, 07 Jun 2001 12:42:34 +0100


> 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