Ron Bickers wrote:
> > > <dtml-var "PARENTS[-1].myObject == myObject">
>
> 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
> context?
Hmmm... try the following as a replacement for the above stuff:
<dtml-var "myObject in PARENTS[-1].objectValues()">
cheers,
Chris
_______________________________________________
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 )