Thanks for ur quick response.
I already read this article. But I don´t like this approach calling this
creation Proxy stuff when I need it for
from a Wicket-Bean.
private ContactDao dao = LazyInitProxyFactory.createProxy(ContractDao.class,
new IProxyTargetLocator() {
public Object locateProxyTarget() {
return
((MyApplication)Application.get()).getSpringContext().getBean("contactDao");
}
}
}
I´m knew to it and I´m struggeling for the right solution.
Is there no possibility to tell spring or wicket to do that in the
background.
I´m just don´t want to care about it... is it now a dao bean or simple bean
or this special kind of wicket bean which I have to instantiate in another
way.
What I want is simple to set this stuff in the applicationContext file.
And that spring does the injection throug the "setter-method".
Thanks in advance for ur comments.
I apprciate it very much.
Cheers Phil
--
View this message in context:
http://www.nabble.com/integration-Spring-Wicket-Hibernate-problem-with-injection-bean-tp19462602p19462930.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]