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
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
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
---
> 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.
>
> -
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
, 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
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
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
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
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
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
11 matches
Mail list logo