A component that allows switching language by a simple click.
Attributes | ||
optional
String
|
CssClass |
The CSS Class to apply. Default: 'osuit-LanguageBar'. |
optional
String
|
LocaleBeanName |
The name of the locale contextual bean. This bean is available at render-time only, and may be used to compute the flag icon. Default: $locale. |
Named Children Elements | ||
mandatory
binding.Expression |
Locale |
The binding to set the locale when the user selects one. |
optional
binding.Expression |
FlagIcon |
Defines a path to the flag icon. The path returned by this expression is relative to the war root directory (ex: 'resources/images/icon.png'). Supported contextual beans: $locale |