Joseph, I believe what Martijn meant was that you need to use GuiceComponentInjector<http://wicket.apache.org/docs/1.4/org/apache/wicket/guice/GuiceComponentInjector.html>. This class will handle the serialization stuff in components for you. You can find more details in these place (and in org.apache.wicket.guice javadoc<http://wicket.apache.org/docs/1.4/org/apache/wicket/guice/package-summary.html> ):
Alastair Maw’s blog - Wicket gets guicy<http://herebebeasties.com/2007-06-20/wicket-gets-guicy/> Wicket examples - Guice<http://www.wicket-library.com/wicket-examples/guice/> Atomic Gamer dev blog - Wicket, Guice and Warp-Persist<http://www.atomicgamer.com/dev/2009/10/wicket-guice-2-0-warp-persist-2-0/> My blog<http://headtoscreencollision.blogspot.com/2010/06/writing-unit-tests-for-guicey-wicket.html> Yaniv kessler On Tue, Jun 1, 2010 at 1:47 PM, Joseph Pachod <j...@thomas-daily.de> wrote: > Martijn Dashorst wrote: > >> You need to use the Wicket injector for guice. That will create a >> serializable proxy for the service. Guice itself doesn't know about >> Wicket, so you can't expect it to magically work. >> >> Martijn >> > sorry, I didn't provide enough context: I'm using wicket-guice (on 1.4.9). > So injection is dealed with by wicket. > > best regards > joseph > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Tel: +972-77-4100977 Fax: +972-77-4100976 Mobile: +972-54-7755427 http://www.codeark.com http://blogs.microsoft.co.il/blogs/yanush/ http://headtoscreencollision.blogspot.com