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

Make <s:set> tag evaluate the body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.6
    • 2.0.7, 2.1.0
    • Plugin - Tags
    • None
    • Patch

    Description

      It makes sense to have <s:set> tag evaluate the tag body (like JSTL set tag does), not only the "value" attribute of the tag. This will allow better interaction with other custom tags.

      Example:
      <s:set name="translatedValue"><s:text name="key"/></s:set>

      Attachments

        1. WW-SetTag.patch
          2 kB
          Oleg Gorobets

        Activity

          People

            rgielen René Gielen
            barabaka Oleg Gorobets
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: