Uh, sorry :) It all comes doen to the handling of shared and-nonshared resources. If a resource is non-shared (read: not registered with sharedresources). If the Image resource is null it can't assume that it's shared, therefore handling is at a non-shared/stateful resource.
On Wed, Sep 7, 2011 at 11:42 AM, Martin Grigorov <[email protected]> wrote: > Would you share your knowledge with us ? :-) > > On Wed, Sep 7, 2011 at 12:33 PM, Jochen Mader <[email protected]> > wrote: >> Found it shortly after my mail (as always). Never mind. >> Am 07.09.2011 09:31 schrieb "Jochen Mader" <[email protected]>: >>> We just stumbled upon the following code in the Wicket(1.4.17) Image >>> class getStatelessHint method: >>> return (getImageResource() == null || getImageResource() == >>> localizedImageResource.getResource()) && >>> localizedImageResource.isStateless) >>> >>> My question is: >>> Why does an image become stateful because of a missing reference? >>> >>> Thx >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
