Return-Path: X-Original-To: apmail-struts-commits-archive@minotaur.apache.org Delivered-To: apmail-struts-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4543192D1 for ; Fri, 4 Mar 2016 18:47:42 +0000 (UTC) Received: (qmail 78287 invoked by uid 500); 4 Mar 2016 18:47:42 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 78168 invoked by uid 500); 4 Mar 2016 18:47:42 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 78010 invoked by uid 99); 4 Mar 2016 18:47:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2016 18:47:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3E51BE7882; Fri, 4 Mar 2016 18:47:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: amashchenko@apache.org To: commits@struts.apache.org Date: Fri, 04 Mar 2016 18:47:44 -0000 Message-Id: <973da11da993483b89ebba48c33d6a0d@git.apache.org> In-Reply-To: <471ccff49aed4a06a1e552a7c91f7ed7@git.apache.org> References: <471ccff49aed4a06a1e552a7c91f7ed7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] struts git commit: radio checked fix 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 Authored: Fri Mar 4 20:43:07 2016 +0200 Committer: Aleksandr Mashchenko 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/> id="${parameters.id?html}${itemKeyStr?html}"<#rt/> -<#if tag.contains(parameters.nameValue!'', itemKeyStr)> +<#if tag.contains(parameters.nameValue, itemKey)> checked="checked"<#rt/> <#if itemKey??>