(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

Source