Re: After/before creation or serialization

2012-11-25 Thread Martin Grigorov
uper(id) > > } > > > > private transient Dao dao; > > > > void onCreateOrRead(){ > > dao = ((MyApplicattion)getApplication()).getDao(); > > } > > > > > >void onCreateOrRead(){ > > dao = null; // Not necess

Re: After/before creation or serialization

2012-11-25 Thread Oscar Besga Arcauz
> >     > > > Oscar Besga Arcauz  < < < > > -Cedric Gatay escribió: - > Para: users@wicket.apache.org > De: Cedric Gatay > Fecha: 25/11/2012  13:36 > Asunto: Re: After/before creation or serialization > > Hi, > I don't know if

Re: After/before creation or serialization

2012-11-25 Thread Martin Grigorov
gt; > -----Cedric Gatay escribió: - > Para: users@wicket.apache.org > De: Cedric Gatay > Fecha: 25/11/2012 13:36 > Asunto: Re: After/before creation or serialization > > Hi, > I don't know if there is a special Wicket thing, but you can use the > standard

Re: After/before creation or serialization

2012-11-25 Thread Oscar Besga Arcauz
   } > > > Oscar Besga Arcauz < < < -Cedric Gatay escribió: - Para: users@wicket.apache.org De: Cedric Gatay Fecha: 25/11/2012 13:36 Asunto: Re: After/before creation or serialization Hi, I don't know if there is a special Wicket thing, but you can use the

Re: After/before creation or serialization

2012-11-25 Thread Cedric Gatay
Hi, I don't know if there is a special Wicket thing, but you can use the standard Java way like this : private void writeObject(ObjectOutputStream out) throws IOException { //provide your own logic } private void readObject(ObjectInputStream in) throws IOException, ClassNotFoun