incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <>
Subject [jira] Resolved: (ADFFACES-268) Add support for formatting locale, separate from translation locale
Date Sat, 28 Oct 2006 02:28:17 GMT
     [ ]

Adam Winer resolved ADFFACES-268.

    Resolution: Fixed

We now have RequestContext.getFormattingLocale(), and a <formatting-locale> element
in trinidad-config.xml that can be used to set this (optionally with an EL expression).

LocaleContext now has both getFormattingLocale() and getTranslationLocale() methods (as well
as a deprecated getLocale() method, pointing at getFormattingLocale() for temporary backwards

DateTimeConverter and NumberConverter both follow getFormattingLocale(), if set (and if their
locale is not explicitly set)

> Add support for formatting locale, separate from translation locale
> -------------------------------------------------------------------
>                 Key: ADFFACES-268
>                 URL:
>             Project: MyFaces ADF-Faces
>          Issue Type: New Feature
>            Reporter: Adam Winer
>         Assigned To: Adam Winer
> In a number of cases, it is very valuable to have formatting - esp. for dates and numbers
- to default to a different locale than that of the translation.  For example, one might only
have US English translations, but want British and German users to see dates formatted appropriately
for their locale.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message