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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.5
    • 2.5.8
    • Core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: