struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <>
Subject [jira] [Commented] (WW-4447) Hidden fields silently drop 'label' attributes in Struts 2.3.20
Date Wed, 14 Jan 2015 17:46:36 GMT


Aleksandr Mashchenko commented on WW-4447:

Was referring to WW-4297 which added {{<tr/>}} and {{<td/>}} 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:
>             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
> 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, and I could not find anything in the changelog for 2.3.20.

This message was sent by Atlassian JIRA

View raw message