[Zope] stopping acquisition
Andy McKay
andym@ActiveState.com
Tue, 17 Jul 2001 13:24:51 -0700
Use the only attribute:
<dtml-with aq_explicit only>
Cheers.
--
Andy McKay.
----- Original Message -----
From: "Dan Keshet" <dkesh@channel1.com>
To: <zope@zope.org>
Sent: Tuesday, July 17, 2001 1:19 PM
Subject: [Zope] stopping acquisition
> Hi,
>
> I have a method method_x.
>
> If there is a method_y in the same folder (not acquired!) as where
> method_x is being executed, I want to do one action, otherwise, some
> other.
>
> I tried this
>
> <dtml-with aq_explicit>
> <dtml-if method_y>
> Yup
> <dtml-else>
> Nope
> </dtml-if>
> </dtml-with>
>
> But it says "Yup" in Folders without a method_y
>
> Any help?
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )
>