+1
This clears up a lot conceptually for me. What is still unclear is how one is supposed to check whether a resource is already shared (i.e. is there a shared resource with this scope and key name?) and getting a direct reference to the original resource that was originally shared. That is, if I stored a StaticImageResource, I might want to get at it (as oppposed to ResourceReference) in order to find out its width, height, or path -- maybe for debugging purposes, maybe for other purposes -- and currently when using ResourceReference to get at shared resources you don't get this ability.
Gili
Jonathan Locke wrote:
I just spent a while talking with Johan about SharedResource. We agree that it needs to be refactored a little. Conceptually, it should not be a Resource at all. It's a ResourceReference and that's what the new name will be. In making this change I'll mostly be playing with internal detail classes like LocalizedImageResource. Besides the name change, users will mainly notice that the conceptual model is cleaner and that the API is more typesafe. I can't get to this until later tonight or possibly tomorrow, but I will get to it soon. I think this change is worthwhile and I want it to go into RC2.
Jon
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
