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:[EMAIL PROTECTED]
Going Virtual, L.L.C.                         http://www.goingv.com/


_______________________________________________
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