[Zope] Acquisition, Not! How?
Jeff Hoffman
jeff.hoffman@goingv.com
Thu, 24 Aug 2000 11:39:59 -0400 (EDT)
On Thu, 24 Aug 2000, Júlio Dinis Silva wrote:
> I know this sound strange but is there a way to,
> during execution of a dtml method, when a with tag is used one
> force acquisition not to be used?
>
> example:
>
> /root/a/b/c
> /root/c
>
> say <dtml-with "root.a.c"> was a mistake so I dont want the root.c namespace
> to be imported due to acquisition and instead I want to raise an exception.
>
> How can I "turn off" acquisition?
>
> I love acquisition, I know its great but I dont want it in a specific case.
> Is there a way to turn off?
Try:
<dtml-with aq_explicit>
<dtml-var "root.a.c">
</dtml-with>
--Jeff
---
Jeff K. Hoffman 704.849.0731 x108
Chief Technology Officer mailto:jeff.hoffman@goingv.com
Going Virtual, L.L.C. http://www.goingv.com/