Hello everybody,

I have a little problem. I use in my webpages ressource models. For example:

public class MyPage{
             ...
 add(new Label("id", new ResourceModel("myResourceKey"));
             ...

I also have a MyPage.properties where I placed following
String: myResourceKey=Hello World! But I get whole the time Runtime
Exceptions Resource not fount etc...
When I put the string above in the MyApplication.properties - no problems...

First question is: why is it so? Why does wicket can't find my resource key
in the apropriate property but in the *aplication.properties?
Second question is: Is it possible to change this resolution way? I have
already tried the StringResourceModel but with no success...

Please Help!

Regards,
Dmitriy

Reply via email to