Well, I don't think so, even it needs to be tested. My guess is that the panel is added to the page (then, serialized). To the LDM's contructor, you will pass 'this' (means, the panel). In the LDM, you will store the reference of that 'this' into a variable. In all case, we always have the reference to the same object. So I would say (but I also would have tested) that the panel will be serialized only once...
Maybe someone else can confirm/disaffirm.. On Wed, May 30, 2012 at 10:48 PM, gmparker2000 <greg.par...@brovada.com>wrote: > But if I do that won't the panel get serialized with the loadable > detachable > model? I would have to store a reference on the detachable model in order > to use it in the load method. I could mark it transient and it would be > there when the page is initially rendered but not on subsequent requests. > > This would be exactly what I'm looking for but I don't want to > inadvertently > serialize the panel. Or does it matter? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Access-to-Page-from-LoadableDetachableModel-tp4649586p4649591.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >