name property for components?
Hi, i've just discovered this amazing Framework and all I can say is that is absolutely brillant.
In the last 2 years I developed my own UI Framwork mainly focused on build dynamic mobi-zines that can be updated downoading resources (magazines editions).
Now I would like to port my applications to this great framework but I've a little problem: I was used to give a name to all my components so when I receive an event from them I can easily decide what to do just evaluating the name.
A simple "name" property (as exists in swing components) will suffice. Actually the only other way I can think about to solve my problem (since the components are added dinamically at runtime parsing an xml resource) is to add an instance of all the objects to an hashmap using the component as key and its name as value: in this way, during event handling, I can retrieve the name property using the event's source property.
I think a name property would be more practical.
What do you think about it?