org.springframework.web.servlet.view.tiles2
Class SpringLocaleResolver

java.lang.Object
  extended by DefaultLocaleResolver
      extended by org.springframework.web.servlet.view.tiles2.SpringLocaleResolver

public class SpringLocaleResolver
extends DefaultLocaleResolver

Tiles LocaleResolver adapter that delegates to a Spring 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".

Since:
2.5
Author:
Juergen Hoeller
See Also:
org.apache.tiles.definition.UrlDefinitionsFactory#LOCALE_RESOLVER_IMPL_PROPERTY

Constructor Summary
SpringLocaleResolver()
           
 
Method Summary
 java.util.Locale resolveLocale(TilesRequestContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringLocaleResolver

public SpringLocaleResolver()
Method Detail

resolveLocale

public java.util.Locale resolveLocale(TilesRequestContext context)