Well, this part:

Caused by: java.util.MissingResourceException: Unable to find resource:
datenForm.text1.DatumsValidator
        at wicket.Localizer.getString(Localizer.java:110)
        at wicket.Localizer.getString(Localizer.java:212)

shows that Wicket looks for resource with resource key 
'datenForm.text1.DatumsValidator' but is not able to find it. If you don't want 
Wicket to throw exceptions when it cannot find resources (as it does by 
default), you should do:

        ApplicationSettings settings = getSettings();
        settings.setThrowExceptionOnMissingResource(false);

in your WebApplication class.

Next thing you need to do is create a properties file that can be found by your 
markup file. So if you have page MyPage.java, and MyPage.html this would mean 
MyPage.properties. Now, put e.g.

        datenForm.text1.DatumsValidator=falsche daten!

in it, and your done. There's a lot more power about the resources. Chris and 
Jonathan made it really good.

Eelco




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to