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 <amashche...@apache.org> Authored: Fri Mar 4 20:52:23 2016 +0200 Committer: Aleksandr Mashchenko <amashche...@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??>