So where does the automatic injection stop? What if I have a panel that needs a reference to a service? Or a subclass of a component?
-Igor > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stefan Arentz > Sent: Wednesday, October 26, 2005 9:56 AM > To: [email protected] > Subject: Re: [Wicket-user] My take on Spring integration > > > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
