Eeek 2 secs..

try to add this in your constructor of the panel:

InjectorHolder.getInjector().inject(this);

regards Nino

Nino Saturnino Martinez Vazquez Wael wrote:
> Check this out, it uses springcontext... Im in a very pasty mood today:)
>
>
> http://cwiki.apache.org/confluence/display/WICKET/Blog+Tutorial
>
> Mead wrote:
>   
>> well, a Panel Component could not get spring context beans, it got 
>> java.lang.NullPointerException, but a WebPage Component is ok. 
>>   I use 
>> 'applicationFactoryClassName=org.apache.wicket.spring.SpringWebApplicationFactory'
>>  to config in the web.xml
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>   
>>     
>
>   

-- 
-Wicket for love
-Jme for fun

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to