Force your servlet container to serialize sessions after each request
and add non-serializable field to objects that you don't want to be
serialized.

2010/1/27 pieter claassen <pie...@claassen.co.uk>:
> I want to test the following:
> 1. Whether I have any private members stored on my pages that are not
> a primitive java type, or IModel
> 2. If they are IModels, that I do call onDetach() on them.
>
> Reflection helps me to answer the 1st question but the second one baffles
> me. Any tips on how to verify that I am calling onDetach() on all privately
> stored  IModels?
>
> I notice that Martijn has a presentation on the subject here, but there is
> just not enough code in there for me to get to solution myself.
> http://www.slideshare.net/dashorst/keep-your-wicket-application-in-production
>
> Thanks,
> Pieter
>

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

Reply via email to