What is the idiom for obtaining the message from other than the
default (English bundle).
If I change the locale to "es", the tags work fine, but I can't seem
to access it from the Actoin.
MessageResources resources =
getResources(request,getLocale(request).toString());
Returns null for
Pankaj Gupta wrote:
Can anyone please suggest how can I access
ApplicationResources.properties from my Action class. Specifically I
want to read the labels for my LabelValueBean object from the
application resources.
The validator framework has a utility class called Resources that can do
Hi Pankaj,
This is the code I use when I need to get a resource string in an Action:
String text = getResources(request).getMessage(getLocale(request),
"messages.deleteFailed");
HTH,
Frank
Pankaj Gupta wrote:
Hi,
Can anyone please suggest how can I access
ApplicationResources.properties f
Hi,
Can anyone please suggest how can I access
ApplicationResources.properties from my Action class. Specifically I
want to read the labels for my LabelValueBean object from the
application resources.
regards,
Pankaj
-
T
4 matches
Mail list logo