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

[taglib] enhance bean:write with a "decorator" attribute for tailored formatting

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: Nightly Build
    • Fix Version/s: None
    • Component/s: Tag Libraries
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: Other
    • Bugzilla Id:
      34550

      Description

      The decorator approach as used in
      http://displaytag.sourceforge.net/tut_decorators.html#Column_Decorators appears
      to be more powerful than the "format" and "formatKey" attribute in
      http://struts.apache.org/userGuide/struts-bean.html#write.
      Therefore, I suggest "decorator" should have precedence over "format" and
      "formatKey".
      Sure, one could create one's own taglibs for this, but that is so much more
      complicated.

      This might make STR-2387 obsolete as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hauser@acm.org Ralf Hauser
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: