I need to be able to inject a service into my panel..

Should I then just use:

org.apache.wicket.injection.Injector.get().inject(Object object).

or are there are prettier way? I feel that calling
org.apache.wicket.injection.Injector.get().inject(Object object)
inside my panels sort of violates the IOC principle?

2010/9/23 Martin Makundi <[email protected]>:
> What is your need exactly?
>
> **
> Martin
>
> 2010/9/23 nino martinez wael <[email protected]>:
>> Hi
>>
>> what should I do if I want to use IOC in my panels? In short I need a
>> sort of a provider injected into a panel, what's the prettiest way to
>> do it?
>>
>> regards Nino
>>
>> ---------------------------------------------------------------------
>> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to