Well I read this:
"package.properties (of the directory where class is located and every
parent directory all the way to the root directory)"
and tried moving around the package.properties around but findDefaultText
always returns null. My actions though are still able to retrieve the proper
te
Thanks for the suggestion! I tried integrating it to my code but the problem
is findDefaultText always returns null. I traced the name and the locale
that I am passing and they are correct.
my package_en_US.properties is in my org.test.app.action package. My
interceptor is in the org.test.app.in
// For future i18n purpose
private String translate(String name) {
String i18Name = LocalizedTextUtil.findDefaultText(name, locale);
if (i18Name == null) {
i18Name = name;
}
return i18Name;
}
Grish escribió:
I'm studyi
3 matches
Mail list logo