* Janos Cserep:
>
> I've started writing a unit test for the getParameters() bug (WICKET-631),
> but can't find a way to directly "call" a shared resource using
> WicketTester. It's not on a page, or on a panel... Any pointers? Eelco
> suggested to ask on this list.
Just typed Ctrl-Shift-T in Eclipse and came across
SharedResourceRequestTarget, is that what you need?
RequestParameters params = new RequestParameters();
params.setResourceKey(sharedResource);
getRequestCycle().setRequestTarget(new SharedResourceRequestTarget(params));
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user