Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2426

[taglib] html:messages and html:errors should make it easier to get only 'global' messages.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Nightly Build
    • Future
    • Tag Libraries
    • None
    • Operating System: other
      Platform: Other
    • 34489

    Description

      Right now to get the html:messages or html:errors tags to display "global"
      messages, one must either display all of the messages or know the String literal
      Struts uses to represent the "global" message scope. Instead, there should be
      an attribute on each of these tags such as "onlyGlobal" which encapsulates
      knowledge of the literal and makes it easier to show those.

      About the only question is "what is the best attribute name?"

      This would be a very easy patch to create for someone who wants to volunteer a
      little time to helping improve Struts.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--struts-html.tld
          72 kB
          Allen Fogleson
        2. ASF.LICENSE.NOT.GRANTED--messagesTag.diff
          2 kB
          Allen Fogleson
        3. ASF.LICENSE.NOT.GRANTED--errorsTag.diff
          3 kB
          Allen Fogleson

        Activity

          People

            Unassigned Unassigned
            germuska Joseph Lad Germuska
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: