Grails - Tag - currencySelect

Tag - currencySelect

Description

Helper tag for creating HTML selects for selecting from a list of currency symbols (eg. 'EUR', 'USD' etc.).

Parameters

  • from (optional) - The currency symbols to select from, defaults to the major ones if not specified
  • value (optional) - The currency value as the currency code. Defaults to the currency for the current Locale if not specified

Examples

// create a currency select
<g:currencySelect name="myCurrency" value="${currency}" />