for wicket 1.2, see http://cwiki.apache.org/WICKET/spring.html  for
reference (button)

Wicket 1.3 can use actual WebApplication so it should be no problem.

On 7/11/07, Evan Chooly <[EMAIL PROTECTED]> wrote:

Does anyone have any documentation on using WicketTester with annotation
based spring injection?  I tried creating a WicketTester using my own
Application rather then the DummyApplication that's used by default but
spring complains with:  java.lang.IllegalStateException: No
WebApplicationContext found: no ContextLoaderListener registered?

But it's not immediately clear how I can do that from my test code.
Anyone have any ideas?  All the google results i've found so far deal with
creating mocks and manully injecting them which is not really what I want.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ingram Chen
online share order: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to