struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amashche...@apache.org
Subject [3/3] struts git commit: radio checked fix
Date Fri, 04 Mar 2016 18:47:44 GMT
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 <amashchenko@apache.org>
Authored: Fri Mar 4 20:43:07 2016 +0200
Committer: Aleksandr Mashchenko <amashchenko@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??>


Mime
View raw message