Vyacheslav Akhmechet <[email protected]> writes: > On Fri, Feb 20, 2009 at 4:11 AM, Jan Rychter <[email protected]> wrote: >> But object instances are problematic -- because then you'd need to key >> by class name or a hash of class instance, and I have widgets that store >> children of two different kinds. > I don't understand. Why not add the actual parent object instances to > the hashtable instead of adding type symbols?
I am afraid it's me who doesn't understand :-) Could you provide a short example of what you consider to be "parent object instances"? And could you please explain how I could store two different lists of widgets keyed to that same object instance? --J. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
