1. I changed the image component from Image to NonCachingImage. This seems to have eliminated my issue of images being shown which were a previously-shown image instead of the correct one.
2. The model which I pass to my NonCachingImage is descended from LoadableDetachableModel. This model class's load() method returned null if there was no image to display. I believe that this is the cause of the exception which I was getting. If there is no image, load() now returns new ByteArrayResource(null, new byte[0]); instead. I have yet to see the exception since this change. 3. "All" I need to do now is find out why my use of a NonCachingImage together with my descended LoadableDetachableModel in the form of my web page still results in huge session size (>1MB), which is forbidden in Google App Engine. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Choice-of-Resource-for-my-Image-component-tp3342289p3405585.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
