Re: Cannot create Spring Bean via Proxy in Wicket

2008-09-11 Thread cricdigs
> -- > sp > > -- View this message in context: http://www.nabble.com/Cannot-create-Spring-Bean-via-Proxy-in-Wicket-tp14791465p19450157.html Sent from the Wicket - User mailing list archive at Nabble.com. - To u

Re: Cannot create Spring Bean via Proxy in Wicket

2008-01-13 Thread Sergey Podatelev
On Jan 14, 2008 1:13 AM, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: You have to use interface and cast to the interface Too bad I've forgotten about the whole injection idea of using interfaces instead of their specific implementations. Surely, your suggestion did the trick. Thanks a bunch.

Re: Cannot create Spring Bean via Proxy in Wicket

2008-01-13 Thread Sergey Podatelev
Thanks for your fast responses. On Jan 14, 2008 1:13 AM, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > If your UserDao is interface then just cast to it, not to the JdbcUserDao > and it should be fine. Actually, that was just a typo in the code I've pasted here. It supposed to be JdbcUserDa

Re: Cannot create Spring Bean via Proxy in Wicket

2008-01-13 Thread Konstantin Ignatyev
users@wicket.apache.org Sent: Sunday, January 13, 2008 1:34:08 PM Subject: Cannot create Spring Bean via Proxy in Wicket Hello, My WebApplication extends SpringWebApplication and I use proxy-based approach for bean instantiation. I'm using JDK1.4, so I'm unable to just annotate the be

Re: Cannot create Spring Bean via Proxy in Wicket

2008-01-13 Thread Igor Vaynberg
if you could provide a quickstart maybe someone can look into it -igor On Jan 13, 2008 1:34 PM, Sergey Podatelev <[EMAIL PROTECTED]> wrote: > Hello, > > My WebApplication extends SpringWebApplication and I use proxy-based > approach for bean instantiation. > I'm using JDK1.4, so I'm unable to ju

Cannot create Spring Bean via Proxy in Wicket

2008-01-13 Thread Sergey Podatelev
Hello, My WebApplication extends SpringWebApplication and I use proxy-based approach for bean instantiation. I'm using JDK1.4, so I'm unable to just annotate the beans, but have to do it in the following way: MyWebApplication { private UserDao userDao; ... public UserDao getUserDao() {