On Thu, Oct 7, 2010 at 5:47 PM, Mauro Ciancio <maurocian...@gmail.com> wrote:
>
> It's not so important, but I can't figure out why I have the same bean
> instance, taking into account that the page is serialized at the end
> of the request and the inyected bean is actually a proxy of the bean,
> so no real bean is in the serialization.
>
> I've double checked it, and the _same_ bean instance is holded in my
> page en each request to the same page.
>
> Shouldn't the bean get relocated after serialization?
>

Yes: after "deserialization" :). And yes: after deserialization of
yout page version this bean is relocated from Spring again. You can
chcek this: go to the previous page version by clicking "back" button
and press refresh button (if page is cached in a browser). Then you
can see that a new bean instance is created. When you stays on the
same page and clicking statefull links this page is not deserialized
(correct me if I am wrong).

--
Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to