Witold Czaplewski wrote:
> 
> i'm trying to use a custom ResourceStreamLocator to place the markup
> files in another directory. It is based on this wiki entry:
> http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html#ControlwhereHTMLfilesareloadedfrom-InWicket1.3
> 
> The deployed application works fine, but my test cases don't work.
> 
> With enabled debug messages for org.apache.wicket.util.resource i can
> see that the webapppaths are empty although the addResourceFolder
> method should be called.
> 

My guess would be you are not setting an application with the added resource
folder against the WicketTester


Try passing in your application to the tester.

eg,
WicketTester tester = new WicketTester(myAppWithResourceFolder);

thats my guess :)
-- 
View this message in context: 
http://www.nabble.com/addResourceFolder-in-unit-tests-tp18400757p18401762.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to