Re: Table-ize error messages

2019-11-14 Thread János Cserép
Easiest way to do it is to create a custom resource loader like this: public class DatabaseResourceLoader implements IStringResourceLoader { (...)     @Override     public String loadStringResource(Class clazz, String key, Locale locale, String style, String variation) {     return

Table-ize error messages

2019-11-14 Thread Entropy
Most of our error messages are in property files, but we have a set of them that we need to draw from a database. I'd like to add them to the resources programmatically in the Application object at startup so that pages don't know any difference between whether it was sourced from property files