| java.lang.Object org.riotfamily.common.web.view.freemarker.LocalizedObjectWrapper
LocalizedObjectWrapper | public class LocalizedObjectWrapper implements ObjectWrapperPlugin(Code) | | ObjectWrapper that supports Maps containing
Locale keys. When the
map is to be wrapped, the entry for the current locale is returned instead
of the map itself.
author: Felix Gnass [fgnass at neteye dot de] since: 6.5 |
setExact | public void setExact(boolean exact)(Code) | | Sets whether the current locale must exactly match the key. If set to
false (which is the default), a second lookup is performed
with the language only in case no entry can be found.
|
setFallbackLocale | public void setFallbackLocale(Locale fallbackLocale)(Code) | | Sets a fallback locale that is used in case no entry is found for the
current locale. Default is null .
|
|
|