localeMenu

Menu to select the current locale.

Tag Information
Tag Class org.loom.tags.menu.LocaleMenuTag
Body Content scriptless
Dynamic Attributes true
Example
<l:localeMenu id="languages" locales="en, es"/>

Attributes

Name Description Flags
locales the list of available locales, separated by commas
requiredrtexprvalue
action the Action and event that will be invoked to change the locale, defaults to LocaleAction and its default event
rtexprvalue
cache

Deprecated. since Loom 2.0 this attribute will be ignored (see #LOOM-231). Instead, use l:cached

rtexprvaluedeprecated
class HTML attribute
rtexprvalue
css css class of this menu
rtexprvalue
decorator The name of the decorator to use. The default decorators for any form field will display the surrounding label.
rtexprvalue
event the Action and event that will be invoked to change the locale, defaults to LocaleAction and its default event
rtexprvalue
id HTML attribute
rtexprvalue
itemSeparator separator printed between menu items when using decorator "inline"
rtexprvalue
selfTranslated true if each locale is translated by itself (instead of the current request locale) before rendering, e.g. display EspaƱol instead of Spanish for a user that is browsing in english. Default true
rtexprvalue