Home » tiles-2.2.1-src » org.apache » tiles » locale » impl » [javadoc | source]
org.apache.tiles.locale.impl
public class: DefaultLocaleResolver [javadoc | source]
java.lang.Object
   org.apache.tiles.locale.impl.DefaultLocaleResolver

All Implemented Interfaces:
    LocaleResolver

Default implementation of LocaleResolver
It tries to take the locale from the session-scoped attribute DefaultLocaleResolver#LOCALE_KEY . If it is not found, it returns the locale included in the request.
Field Summary
public static final  String LOCALE_KEY    The attribute name that is used to store the current locale. 
Method from org.apache.tiles.locale.impl.DefaultLocaleResolver Summary:
init,   resolveLocale
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.locale.impl.DefaultLocaleResolver Detail:
 public  void init(Map<String, String> params) 
    {@inheritDoc}
 public Locale resolveLocale(TilesRequestContext request) 
    {@inheritDoc}