Hello All,
I'm currently migration huge 1.4.x project to 6.17.0 and have question
about custom string bundle
CommonWebApplication.java
CommonWebApplication.xml
CommonWebApplication_de.xml
class CommonWebApplication extends AuthenticatedWebApplication {
@Override
protected void init() {
super.init();
//getResourceSettings().getStringResourceLoaders().add(new
BundleStringResourceLoader("CommonWebApplication.xml"));
//getResourceSettings().getStringResourceLoaders().add(new
ClassStringResourceLoader(CommonWebApplication.class));
getResourceSettings().getStringResourceLoaders().add(new
BundleStringResourceLoader(CommonWebApplication.class.getSimpleName()));
}
}
MyApplication.java
MyApplication.xml
MyApplication_de.xml
class MyApplication extends CommonWebApplication {
@Override
protected void init() {
super.init();
}
}
Unfortunately I'm unable to load strings from "CommonWebApplication.xml"
What am I doing wrong?
--
WBR
Maxim aka solomax