Daniel Chudnov wrote:
> 
> (zope-2.1.6, rh6-linux)
> 
> How come I can't do this:
> 
>   <dtml-if "var1 and var2">
>    <dtml-call somefuncNeedingVar1AndVar2>
>   </dtml-if>
> 

Your problem is probably related to namespaces and aquisition.
Aquisition is best monster you'll ever meet. <s>

What you're calling can't find var1 & var2. You could use the
-with tag in most cases (see DMTL Guide & ZQR).

I found reading these helped...  
http://www.zope.org/Members/Hoekstra/ChangingZopeContexts
http://www.zope.org/Documentation/How-To/AdvancedDTML
http://www.zope.org/Members/chrisw/showaq
http://www.zope.org/Members/cybertad/how_to/working_with_tree

...then I read almost the entire mailing list archives, then all
of the HowTos
Just kidding, it's not that bad. 

Now you're ready for:
http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/siframes.htm
(but I bet the talk was better than just the slides <g>).

HTH,
-- Tim Cook --
Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT
* Specializing in Open Source Business Systems *
FreePM Project Coordinator http://www.freepm.org
OSHCA Founding Supporter http://www.oshca.org

_______________________________________________
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