**** From my previous post, it looked like the parent was changing. I had
the first two lines swapped. Fixed below.
----
I want to see if an object is the one aqcuired from the root, but I'm
hitting walls.
<dtml-var "PARENTS[-1].myObject">
<dtml-var "myObject">
<dtml-var "PARENTS[-1].myObject is myObject">
This returns the following when in the root folder context:
<TinyTable instance at 8684ad8>
<TinyTable instance at 8684ad8>
0
It returns the following in a folder where there is another myObject:
<TinyTable instance at 8684ad8>
<TinyTable instance at 86709f8>
0
What am I missing in the comparison?
Thanks!
_______________________
Ron Bickers
Logic Etc, Inc.
[EMAIL PROTECTED]
_______________________________________________
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 )