[Zope] Acquisition, Not! How?

Júlio Dinis Silva juliodinis@hotmail.com
Thu, 24 Aug 2000 17:08:35 WEST


> > 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>
>

This result in a system error (infinite loop) :-(
I'll follow this aq_explicit tip.

Thanx anyway,
Júlio Dinis Silva



________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com