[Zope] Explicitly avoiding acquisition, how?

Pavlos Christoforou pavlos@gaaros.msrc.sunysb.edu
Mon, 14 Jun 1999 15:53:02 -0400 (EDT)


On Mon, 14 Jun 1999, Alexander Staubo wrote:
> 
> I'd like to get at an attribute or folder subobject without going
> through implicit acquisition. For example, I'd like to have a DTML
> Method that checks its parent folder if that folder and _not_ its parent
> folders carry a specific attribute. In other words, I want to test for
> the _existence_ of an attribute. Same for folder subobjects.

the aq_base attribute of your object returns the 'unwrapped' object. 

so <!--3 var "spam.aq_base"--> gets the object without the acquisition
wrappers.

Pavlos