struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amashche...@apache.org
Subject [2/2] struts git commit: radio checked fix vol.2
Date Fri, 04 Mar 2016 18:54:48 GMT
radio checked fix vol.2

(cherry picked from commit f7364a50dc6a82b51a57dab9b3efd6303e2295b6)


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

Branch: refs/heads/support-2-3
Commit: 9de0cf4c8be123d110ce9e9caea0a077a9202264
Parents: 5cf4aac
Author: Aleksandr Mashchenko <amashchenko@apache.org>
Authored: Fri Mar 4 20:52:23 2016 +0200
Committer: Aleksandr Mashchenko <amashchenko@apache.org>
Committed: Fri Mar 4 20:52:53 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/9de0cf4c/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 12c41f9..07e987a 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, itemKey)>
+<#if tag.contains(parameters.nameValue!'', itemKey)>
  checked="checked"<#rt/>
 </#if>
 <#if itemKey??>


Mime
View raw message