why dont you debug it yourself and see what the problem is. see how the thing actually works and you might find a solution. i dont use guice so i wont be of much help.
-igor On Thu, Oct 23, 2008 at 3:30 AM, Edgar Merino <[EMAIL PROTECTED]> wrote: > This one seems to have no answer, I've tried googling and everything stopped > just here, were I started, I hope someone could provide a solution > (different than using salve). > > Edgar Merino > > > > > Edgar Merino escribió: >> >> Anyone for this? >> >> >> Edgar Merino escribió: >>> >>> Hello, >>> >>> I've been trying to inject a service to some classes that are not >>> wicket components, I've asked here and was suggested to use static >>> injection: InjectorHolder.getInjector().inject(this); however this is not >>> working with guice, I always get an illegalstateexception, injectorholder >>> has not been assigned an injector. I've tried ((GuiceInjectorHolder) >>> (RequestCycle.get().getApplication().getMetaData(GuiceInjectorHolder.INJECTOR_KEY))).getInjector().injectMembers(this); >>> however that gives me serialization problems, since wicket is not creating a >>> proxy for my service. I'm on my way to give salve a try but I'm having some >>> problems there too (waiting for a response from the Discussion group), what >>> suggestions can you make? >>> >>> Thanks in advance, >>> Edgar Merino >>> >> >> > > > --------------------------------------------------------------------- > 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]
