RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-18 Thread Loritsch, Berin C.
/    /bean -Original Message- From: Loritsch, Berin C. [mailto:berin.lorit...@gd-ais.com] Sent: Tuesday, November 17, 2009 4:15 PM To: users@wicket.apache.org Subject: RE: Spring/Wicket/Hibernate testing driving me banana nuts I've got the part that injects a Spring WebApplicationContext

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Igor Vaynberg
i see you are using MockWebApplication in your tests. this application does not install the SpringComponentInjector and so @SpringBean has no effect. you should either give wickettester an instance of your actual application class, or create a mock one that installs springcomponentinjector.

RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
on its own to use? -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, November 17, 2009 4:05 PM To: users@wicket.apache.org Subject: Re: Spring/Wicket/Hibernate testing driving me banana nuts i see you are using MockWebApplication in your tests

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Jeremy Thomerson
, November 17, 2009 4:05 PM To: users@wicket.apache.org Subject: Re: Spring/Wicket/Hibernate testing driving me banana nuts i see you are using MockWebApplication in your tests. this application does not install the SpringComponentInjector and so @SpringBean has no effect. you should either

RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
:15 PM To: users@wicket.apache.org Subject: RE: Spring/Wicket/Hibernate testing driving me banana nuts I've got the part that injects a Spring WebApplicationContext into the WicketTester already (Source attached). I should be using the application class, if I'm not then something has changed

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Eelco Hillenius
C. [mailto:berin.lorit...@gd-ais.com] Sent: Tuesday, November 17, 2009 4:15 PM To: users@wicket.apache.org Subject: RE: Spring/Wicket/Hibernate testing driving me banana nuts I've got the part that injects a Spring WebApplicationContext into the WicketTester already (Source attached).  I