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
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
How can I know the country of the user that is connected to my wicket page?
I only suppose to check the IP address with:
String ipAddress = ((ServletWebRequest)
RequestCycle.get().getRequest()).getContainerRequest().getRemoteHost();
And than with command line whois check the country
whois