[Zope] How to use "and" operator in dtml-if

Mike Doanh Tran mtran@shufflemasterrd.com
Tue, 5 Feb 2002 16:34:16 -0700


Hi All,

Can anyone show me how to use the operator "and" in the tag <dtml-if>
This is how i've used it but it doesn't worked for me.
Zope does not give me any error when i tried to execute this code and it also 
does not execute the intended script.

<dtml-if "level_in=='Development' and   	
AUTHENTICATE_USER.has_role('Development')">
Then execute script 
<dtml-else>
Permission Denied!
</dtml-if>

Thanks for any suggestion,

--
Mike Tran
Shufflemaster Gaming Inc.