Re: String Resources associated with entity classes

2012-10-28 Thread Dieter Tremel
Hello Bas, Am 27.10.2012 23:04, schrieb Bas Gooren: So just to confirm: Say you have an entity House, you'll have House.class House.properties Yes. The beginning of my book example author properties file is (German naming): # Entity Autor LabelPlural=Autoren Label=Autor Title=Autor

String Resources associated with entity classes

2012-10-27 Thread Dieter Tremel
For every JPA entity class I have a associated properties file in a package called resources under the package of the entity classes. In the files the display label, title, description of the entity and it's attributes are given for internationalization. The keys in the files are not necessarily

Re: String Resources associated with entity classes

2012-10-27 Thread Bas Gooren
Hi, So just to confirm: Say you have an entity House, you'll have House.class House.properties 1) where in the properties file you have a key Label with a value? 2) and in wicket you say getString(House.Label), or new ResourceModel(House.Label)? If this is the case, write a custom string