public class

SpringLocaleResolver

extends DefaultLocaleResolver
java.lang.Object
   ↳ DefaultLocaleResolver
     ↳ org.springframework.web.servlet.view.tiles2.SpringLocaleResolver

Class Overview

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".

See Also
  • org.apache.tiles.definition.UrlDefinitionsFactory#LOCALE_RESOLVER_IMPL_PROPERTY

Summary

Public Constructors
SpringLocaleResolver()
Public Methods
Locale resolveLocale(TilesRequestContext context)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SpringLocaleResolver ()

Public Methods

public Locale resolveLocale (TilesRequestContext context)