On 7/9/07, Jan Vermeulen <[EMAIL PROTECTED]> wrote:
That's the whole point: in the wrapModel, I store a key with which I can retrieve the wrappedModel from a context. So the wrapModel only stores a 'transient' reference to the wrappedModel, and its detach() clears that reference. Whenever asked for, the wrapModel can retrieve the wrappedModel from the context by key. The reference is only needed to improve retrieval for the current requestCycle.
why all this indirection? why not just use loadabledetachablemodel to retrieve whatever you want? -igor --
View this message in context: http://www.nabble.com/NPE-in-Component.detachModel%28%29-when-wrappedModel-is-null-tf4048326.html#a11505093 Sent from the Wicket - Dev mailing list archive at Nabble.com.