On Tuesday 09 September 2003 08:43 am, you wrote:
kosh said:
This is something I have been very interested in know how to do, but haven't seen any good examples of it yet. How do you specify in which location the references show up?
self.someobject = aq_base(self.somefolder.someotherfolder.someotherobject) Now self.someobject points to the same item as what is at another location If you want to do that with objects in a folder it is a little more complex object = aq_base(self.somefolder.someotherfolder.someotherobject) self.somefolder._setObject(idofobject, object) It is a very good idea to have the objects id the same in all locations you have it in since otherwise you can get some very hard to debug behavior since the id is part of the object.