SeamFramework.orgCommunity Documentation
In addition to Chapter 38, Locales, Seam Faces provides an additional producer which returns
the supported locale of the UIViewRoot
or ViewHandler
. This
Locale
has the @Faces
qualifier to help distinguish it from other produced
locales.
Seam Faces also provides easy access to the configured list of locales for the application both via injection and
via EL. Using EL thould would be #{supportedLocales}
and #{defaultFacesLocale}
.
Via injection one would use
@Inject @Faces
List<Locale> supportedLocales;
or
@Inject @Faces @DefaultLocale
Locale defaultLocale;