On Oct 26, 2005, at 10:54 AM, Johan Compagner wrote:
I am not a spring expert/user so i am a bit curious when is it all
injected?
for example if i do this:
setResponsePage(new UserPage(user));
and that userpage has some spring beans that also must be
instantiated?
That works. I am doing this right before the constructor of the page
is executed.
And then that userpage is serialized how do you inject those beans
again?
Did you overwrite the readObject() ??
Yes. But this needs better testing. I think it works but I'm not sure
if I hit all the persistence cases. Eelco send me hints about forcing
serialization through
log4j.logger.wicket.protocol.http.WebSession=DEBUG.
It is on the agenda for tonight :-)
S.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user