> -----Original Message-----
> From: Chris Withers [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 3:16 PM
> To: Ron Bickers
> Subject: Re: [Zope] Acquisiton Wrappers bite ;-)

> > <dtml-var "PARENTS[-1].myObject == myObject">
> ...this one will return true in the next version of Zope, in the above
> example...
> To do comparisons like this, though, you really need to be in an
> external method or other unrestricted python so you can get access to
> .aq_base, which is the real object you're dealing with...

Thanks for the info.

So, is there another way in DTML I can see if an object was acquired from
PARENTS[-1] or not?  Is there a way to check an objects container out of


Ron Bickers
Logic Etc, Inc.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to