Class DefaultLocaleResolver
java.lang.Object
org.apache.tiles.core.locale.impl.DefaultLocaleResolver
- All Implemented Interfaces:
- LocaleResolver
Default implementation of 
It tries to take the locale from the session-scoped attribute
LocaleResolverIt tries to take the locale from the session-scoped attribute
LOCALE_KEY. If it is not found, it returns the
 locale included in the request.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe attribute name that is used to store the current locale.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
LOCALE_KEYThe attribute name that is used to store the current locale.- See Also:
 
 
- 
- 
Constructor Details- 
DefaultLocaleResolverpublic DefaultLocaleResolver()
 
- 
- 
Method Details- 
resolveLocaleResolves the locale.- Specified by:
- resolveLocalein interface- LocaleResolver
- Parameters:
- request- The Tiles request object.
- Returns:
- The current locale for the current request.
 
 
-