Hi Peter

You're not looking hard enough :-) there are a million examples of this.

This example is from the first java file I opened (AgreementServices.java):
            errMsg = UtilProperties.getMessage(resource,
"AccountingDataSourceError", messageMap, locale);
            return ServiceUtil.returnError(errMsg);

Regards
Scott

On 20/03/2008, Peter Felts <[EMAIL PROTECTED]> wrote:
>
> Does anyone know if there is a way to access a uiLabelMap (the list of
> local text strings, etc. associated with a language in an application
> /Module/config/<your language here>.properties) from within a service that
> only has access to the DispatchContext and the Map  objects?
>
> What I am trying to do is return errors from a service containing
> localized strings. Any ideas?
>
>
> Thank you.
>
>
>
>
>

Reply via email to