[ https://issues.apache.org/jira/browse/WW-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-5192: ------------------------------ Summary: Radio tag not setting enum key values (was: radiomap.ftl not setting enum key values) > Radio tag 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 > Assignee: Lukasz Lenart > Priority: Major > Fix For: 6.4.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > 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.10#820010)