[
https://issues.apache.org/jira/browse/WW-4447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277064#comment-14277064
]
ASF subversion and git services commented on WW-4447:
-----------------------------------------------------
Commit 243378937969e5caeeeefc2bd98ce799a995e431 in struts's branch
refs/heads/develop from [~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=2433789 ]
WW-4447 Reverts some changes introduced by WW-4297
Resetting 'label' attribute can block user if they would like to
develop their own hidden.ftl template
> 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
> 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)