Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4447

Hidden fields silently drop 'label' attributes in Struts 2.3.20

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.20
    • Fix Version/s: 2.3.24
    • Component/s: Expression Language
    • Labels:
    • Environment:

      Freemarker 2.3.21

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                thrawnca Mitth'raw'nuruodo
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: