Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46B5D173DF for ; Wed, 14 Jan 2015 17:47:35 +0000 (UTC) Received: (qmail 48717 invoked by uid 500); 14 Jan 2015 17:47:36 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 48676 invoked by uid 500); 14 Jan 2015 17:47:36 -0000 Mailing-List: contact issues-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 issues@struts.apache.org Received: (qmail 48664 invoked by uid 99); 14 Jan 2015 17:47:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 17:47:36 +0000 Date: Wed, 14 Jan 2015 17:47:36 +0000 (UTC) From: "Aleksandr Mashchenko (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (WW-4447) Hidden fields silently drop 'label' attributes in Struts 2.3.20 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277302#comment-14277302 ] Aleksandr Mashchenko edited comment on WW-4447 at 1/14/15 5:47 PM: ------------------------------------------------------------------- Was referring to WW-4297 which added {{}} and {{}} around hidden inputs. I've updated an app recently to 2.3.20 and had to search why layout is broken after update. There isn't any mention of it in the release notes. was (Author: aleksandr-m): Was referring to WW-4297 which added {{}} and {{}} around hidden inputs. I've migrated an app recently and had to search why layout is broken after it. There isn't any mention of it in the release notes. > Hidden fields silently drop 'label' attributes in Struts 2.3.20 > --------------------------------------------------------------- > > Key: WW-4447 > URL: https://issues.apache.org/jira/browse/WW-4447 > Project: Struts 2 > Issue Type: Bug > Components: Expression Language > Affects Versions: 2.3.20 > Environment: Freemarker 2.3.21 > Reporter: Mitth'raw'nuruodo > Assignee: Lukasz Lenart > Priority: Minor > Labels: hidden, label > Fix For: 2.3.22 > > > Hidden fields (populated in a Freemarker template using <@s.hidden>) are silently dropping the 'label' attribute, as of Struts 2.3.20. Renaming the attribute to anything else works. > We are using the s.hidden tag with a custom theme to display read-only fields on the page, and we make use of the label attribute. > This change could be intended behavior for hidden fields, but it was not the case in 2.3.16.3, and I could not find anything in the changelog for 2.3.20. -- This message was sent by Atlassian JIRA (v6.3.4#6332)