Re: Spring @Autowire not working

2013-05-12 Thread Nick Pratt
following pic : > psvm.png < > http://apache-wicket.1842946.n4.nabble.com/file/n4658733/psvm.png> > > > > > - > Regards > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-wor

Re: Spring @Autowire not working

2013-05-12 Thread Joachim Schrod
ORACLEADF wrote: > Hi Nick > Thank you. > I create a file applicationContext.xml like the following pic and I use it > in DAO and BO classes : Is your applicationContext.xml read at all? I.e., are your beans actually created? To check: Does your log contains a line like INFO XmlBeanDefinitionRea

Re: Spring @Autowire not working

2013-05-11 Thread ORACLEADF
ke the following pic : psvm.png <http://apache-wicket.1842946.n4.nabble.com/file/n4658733/psvm.png> - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-working-tp4658728p4658733.html Sent from the Users forum mailing list archive a

Re: Spring @Autowire not working

2013-05-11 Thread Nick Pratt
--- > Regards > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-working-tp4658728p4658731.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Re: Spring @Autowire not working

2013-05-11 Thread ORACLEADF
han a "bug" question. Keep up the good work! - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-working-tp4658728p4658731.html Sent from the Users forum mail

Re: Spring @Autowire not working

2013-05-11 Thread Nick Pratt
, ORACLEADF wrote: > The @Autowired annotation works when I call it from my tests, but doesn't > work when I call it > from my Wicket pages. > How can I fix this? > > > > > - > Regards > -- > View this message in context: > http://apache-wicket.18429

Spring @Autowire not working

2013-05-11 Thread ORACLEADF
The @Autowired annotation works when I call it from my tests, but doesn't work when I call it from my Wicket pages. How can I fix this? - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-working-tp4658728.html Sent from the

Re: Spring @Autowire not working

2010-03-10 Thread Alec Swan
Hi Martin, thank you for sharing your setup. I will try it it out in my application. Igor, you are probably right and maybe this post doesn't belong on the Wicket forum. The reason why I posted it is that @Autowired annotation works when I call it from my tests, but doesn't work when I call it fro

Re: Spring @Autowire not working

2010-03-10 Thread Igor Vaynberg
this is purely a spring question no? why dont you ask on their forums... -igor On Wed, Mar 10, 2010 at 11:38 AM, Alec Swan wrote: > I use @SpringBean to wire service classes in my Wicket pages and it works > great. > > My service classes have dependencies on DAO classes. I am currently > wiring

Re: Spring @Autowire not working

2010-03-10 Thread Martin Phee
I'm currently using jars from another application which using spring in a new Wicket application I'm writing without problems. I'm using the service classes within a Wizard using the SpringBean annotation and within the service it's using @Resource to annotate the dao classes it's using. N

Spring @Autowire not working

2010-03-10 Thread Alec Swan
I use @SpringBean to wire service classes in my Wicket pages and it works great. My service classes have dependencies on DAO classes. I am currently wiring DAO classes into service classes adding setters for them and adding them in the service classes and also specifying DAOs as elements in the S