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,
>
>   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]

Reply via email to