(Quick Reference)

localeSelect

Purpose

Generates an HTML select with Locales as values

Examples

<!-- create a locale select -->
<g:localeSelect name="myLocale" value="${locale}" />

Description

Attributes

  • name - The name to be used for the select box

  • value (optional) - The selected Locale; defaults to the current request locale if not specified

  • locale (optional) - The Locale to use for formatting the locale names. Defaults to the current request locale and then the system default locale if not specified