Re: Static injection not working (wicket-guice)

2008-11-12 Thread francisco treacy
hi, imho this is a wicket (wicket-guice) issue. we are trying to accomplish the same as edgar, having the same result: InjectorHolder.getInjector().inject(this); java.lang.IllegalStateException: InjectorHolder has not been assigned an injector. Use InjectorHolder.setInjector() to assign an

Re: Static injection not working (wicket-guice)

2008-10-27 Thread Kristof Jozsa
Hi Edgar, can you share some details with me about what you're trying to accomplish? You can write me privately, this doesn't sound like a wicket issue so better not load the wicket-users list with the topic. Kristof On Wed, Oct 22, 2008 at 8:02 AM, Edgar Merino [EMAIL PROTECTED] wrote: Hello,

Re: Static injection not working (wicket-guice)

2008-10-23 Thread Edgar Merino
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

Re: Static injection not working (wicket-guice)

2008-10-23 Thread Igor Vaynberg
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

Static injection not working (wicket-guice)

2008-10-22 Thread Edgar Merino
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

Re: Static injection not working (wicket-guice)

2008-10-22 Thread Edgar Merino
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