Hi,

Current radiomap.ftl file uses the string representation of map key to
determine if
the radio button should be checked:

<#if tag.contains(parameters.nameValue, itemKeyStr)>

As a result, only String type of property can be used for the radio tag.

In select.ftl file, it uses the map key itself instead of the string
representation of it:

<#if tag.contains(parameters.nameValue, itemKey) == true>

This makes much sence becuase you can use other types than the String such as
type-safe enums for the property type.

Is there any problems to use the itemKey instead of the itemKeyStr in
radiomap.ftl too?

<#if tag.contains(parameters.nameValue, itemKey)>

--
Shisei Hanai

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to