Or make the fields itself not transient, but a proxy that has a transient field and the proxy can deserialize and inject itself again (see wicket-ioc project)
johan On 8/23/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Why can't you just implement read/writeObject on your page/component? > > -Matej > > On 8/23/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > is there a way to add a listener to PageStore events > (storePage/getPage)? > > > > I'm still looking for a clean way to re-inject Pages/Components when > they are > > deserialized. This way I could just set some fields transient and have > them > > injected again if necessary. > > > > I gave IComponentOnBeforeRenderListener a look as a hook to do this, but > that is > > called _after_ Components onBeforeRender(), so it's not usable for that. > > > > Regards, --- Jan. > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >