Matthew Gregory wrote: > Not sure if I understood you correctly, but if I did you should know > that cannot rely on hash codes to uniquely identify objects in between > sessions. The hash code is basically a counter, so if you create (e.g.) > objectA and read it's has code, then re-run your application creating > other objects before objectA it will have a different hashcode. Also you > could have timing issues that might create objects in a different order, > or some objects created on some browsers but not others.
I don't know the hashcode before I launch my tests. But I can have a string representation (which contains the hashcode) of the object at runtime, so I extract this hashcode from the string and use it to locate my objects. I think there should be no problem. -- Loïc Bresson ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
