it should probably be MyApplication.properties unless you have
myApplication.java....
-igor
On 8/20/07, Erik Underbjerg <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have just moved some localized string resources to a
> myApplication.properties file, because they need to accessed by
> different panels and pages, and it works fine.
>
> However, when running my unit tests with WicketTester, it can't find
> the resources in myApplication.properties. I have been unsuccessful
> in finding a way to add the myApplication.properties file to the
> resource path of my WicketTester subclass. This is what I've tried,
> in my subclass of WicketTester:
>
> public void initialize() {
> getResourceSettings().addStringResourceLoader(new
> ClassStringResourceLoader(this, PolFotoApplication.class));
> }
>
> So: How do I add myApplication.properties to the resource path of my
> WicketTester?
>
> Kind regards,
>
> Erik