Burton Rhodes created WW-5192:
---------------------------------
Summary: radiomap.ftl not setting enum key values
Key: WW-5192
URL: https://issues.apache.org/jira/browse/WW-5192
Project: Struts 2
Issue Type: Bug
Components: Core Tags
Affects Versions: 6.0.0
Reporter: Burton Rhodes
Fix For: 6.0.1
The simple/radiomap.ftl will not "check" a radio value if the key is of type
enum. The comparison line should test the itemKeyStr and not itemKey to fix this
Current
{code:java}
<#if tag.contains(parameters.nameValue!'', itemKey)>
checked="checked"<#rt/>
</#if> {code}
Fix
{code:java}
<#if tag.contains(parameters.nameValue!'', itemKeyStr)>
checked="checked"<#rt/>
</#if> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)