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

<s:text/> tag should not evaluate defaultMessage against a ValueStack by default

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.5
    • Fix Version/s: 2.5.8
    • Component/s: Core
    • Labels:
      None

      Description

      Right now <s:text/> tag will perform evaluation of a defaultMessage against a ValueStack by default. In most cases the defaultMessage is set to value of name attribute and can be easily used wrong by a developer. Evaluation must be performed only on purpose.

      This change affects also <s:label/> tag and label attribute of all {{UIBean}}s

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lukaszlenart Lukasz Lenart
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: