you can now automatically and efficiently create localized images such as button images. see the FormInput example to see how this works at its most basic level.
images are created based on the "value" attribute of the component tag. if it's of the form "[imageResourceFactoryName].label", then the factory will be invoked to create the image.
if you don't like the button look or you want to generate some other kind of image via the Image component, just implement a subclass of ImageResourceFactory and install your factory via LocalizedImageResource.add().
images are cached in a weak hashmap, so they will only exist once across your whole application.
this is a very powerful feature i've had on the back burner for quite a while playing with it... have a look!
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
