You do that with org.apache.wicket.util.lang.Objects.cloneObject(yourPage) Eelco
On 5/10/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > what you can do is in detach you try to serialize all the pages that you > render > and test if it serializes. Or test if there are no special objects being > written that you don't expect to be written > (have a custom ObjectOutputStream for that) > > als wicket 1.3 does have now a special object output stream checker which > points you exactly what field of what > object is not serializeable > > johan > > > On 5/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > <<I'm still a noobie with regard to Wicket so my apologies if this is a > > dumb question.>> > > > > Currently all my Wicket pages are using chained property models + > > detachable models for dynamic content. This works great. > > > > However, recently I discovered that one of my pages was getting a > > serialization error. Turns out that the page in question was not using a > > detachable property model, and so its object graph was being serialized. > > The default Wicket serialization was failing and causing an exception and > > backtrace. > > > > My question for the list is this: > > > > Is there a Wicket feature that can identify which pages are NOT using > > detachable models for dynamic content? It would be nice if there was a > > way that Wicket could flag whenever we're serializing model objects > > (possibly big object graphs of model objects). > > > > In other words, it would be handy to find non-detachable dynamic models > > without reading line-by-line through the source code of every single > > Wicket page. > > > > Thanks for any help/info. > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user