Re: Serialization and Form Models

2010-03-01 Thread Bert
I found Igors post on smart entity models very helpful on that matter: http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ basically, it attaches/detaches only if an Id is set (hence, it can be fetched from the backend) Bert

Re: Serialization and Form Models

2010-03-01 Thread Matt Welch
RaBe wrote: I found Igors post on smart entity models very helpful on that matter: http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ basically, it attaches/detaches only if an Id is set (hence, it can be fetched from the backend) I had read that blog entry several

Re: Serialization and Form Models

2010-02-28 Thread Riyad Kalla
Matthew, A quick absolute way to make sure those values are serialized is to use the Java 'transient' keyword. But Wicket will be assuming that when a user hits the Back button, that it can re-constitute the page from the serialized info it has on disk, if it cannot, then yes you'll need a