radio checked fix
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/866b8902 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/866b8902 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/866b8902 Branch: refs/heads/master Commit: 866b8902cd62dfdc9245b6dbb76e0f4fff818b4d Parents: 820c52d 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:43:07 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/866b8902/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 61950e9..9c846e5 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??>