[Zope] How to see if two objects are the same

Ron Bickers rbickers@logicetc.com
Wed, 11 Oct 2000 14:31:33 -0400


I want to see if an object is the one aqcuired from the root, but I'm
hitting walls.

  <dtml-var "myObject">
  <dtml-var "PARENTS[-1].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.
rbickers@logicetc.com