Daniel Chudnov writes:
 >   <dtml-if "var1 and var2">
 >    <dtml-call somefuncNeedingVar1AndVar2>
 >   </dtml-if>
<dtml-if var> is equivalent to <dtml-if "_.has_key('var') and var">.

Thus, for <dtml-if var1 and var2>, you should use:

        <dtml-if "(_.has_key('var1') and var1) and (_.has_key('var2') and var2)">


Dieter

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

Reply via email to