Re: [Wicket-user] Spring annotation ut can work now.

2007-01-05 Thread Igor Vaynberg
try the below application.addComponentInstantiationListener(new SpringComponentInjector(application, context)); -igor On 1/5/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote: I try the code depends on the wiki's spring post, but it cannot inject the springbean well. I trace the source code of

[Wicket-user] Spring annotation ut can work now.

2007-01-05 Thread tooy li(Gmail)
I try the code depends on the wiki's spring post, but it cannot inject the springbean well. I trace the source code of AnnotApplicationContextMock and wickeTester , and find it cannot really register a Injector into the componentInstantiationListeners of component class . I think i can add this