public class SpringLocaleResolver extends DefaultLocaleResolver
LocaleResolver
,
exposing the DispatcherServlet-managed locale.
This adapter gets automatically registered by TilesConfigurer
.
If you are using standard Tiles bootstrap, specify the name of this class
as value for the init-param "org.apache.tiles.locale.LocaleResolver".
DefinitionsFactory.LOCALE_RESOLVER_IMPL_PROPERTY
LOCALE_KEY
Constructor and Description |
---|
SpringLocaleResolver() |
Modifier and Type | Method and Description |
---|---|
Locale |
resolveLocale(TilesRequestContext context) |
init
public Locale resolveLocale(TilesRequestContext context)
resolveLocale
in interface LocaleResolver
resolveLocale
in class DefaultLocaleResolver