radio checked fix

(cherry picked from commit 866b8902cd62dfdc9245b6dbb76e0f4fff818b4d)


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/5cf4aacd
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/5cf4aacd
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/5cf4aacd

Branch: refs/heads/support-2-3
Commit: 5cf4aacd50068365f1fc59fc49f73c1620a5eb4c
Parents: d82289a
Author: Aleksandr Mashchenko <amashche...@apache.org>
Authored: Fri Mar 4 20:43:07 2016 +0200
Committer: Aleksandr Mashchenko <amashche...@apache.org>
Committed: Fri Mar 4 20:47:00 2016 +0200

----------------------------------------------------------------------
 core/src/main/resources/template/simple/radiomap.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/5cf4aacd/core/src/main/resources/template/simple/radiomap.ftl
----------------------------------------------------------------------
diff --git a/core/src/main/resources/template/simple/radiomap.ftl 
b/core/src/main/resources/template/simple/radiomap.ftl
index 37c3f59..12c41f9 100644
--- a/core/src/main/resources/template/simple/radiomap.ftl
+++ b/core/src/main/resources/template/simple/radiomap.ftl
@@ -65,7 +65,7 @@
  name="${parameters.name?html}"<#rt/>
 </#if>
  id="${parameters.id?html}${itemKeyStr?html}"<#rt/>
-<#if tag.contains(parameters.nameValue!'', itemKeyStr)>
+<#if tag.contains(parameters.nameValue, itemKey)>
  checked="checked"<#rt/>
 </#if>
 <#if itemKey??>

Reply via email to