Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-20

[chain] Provide a "dispatch" command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • None
    • Operating System: Mac OS X 10.0
      Platform: Macintosh

    • 32940

    Description

      My team and I have developed a preference for the "DispatchAction" style in
      Struts to cluster related behavior and decrease the number of classes. While
      this is a matter of taste, it seems to be the taste of at least a few people in
      the Struts community.

      Is there any interest in providing an abstract base DispatchCommand which looks
      up and invokes an internal method based on either a String property or the
      String value of a context value? I started writing such a thing, and will
      gladly finish it up, test it, and provide the code for more feedback if there's
      interest.

      If people think it's scandalous, we could probably just keep it for internal use...

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--DispatchCommand.java
          2 kB
          Joseph Lad Germuska
        2. ASF.LICENSE.NOT.GRANTED--DispatchCommand.java
          4 kB
          Joseph Lad Germuska
        3. ASF.LICENSE.NOT.GRANTED--DispatchCommandTestCase.java
          4 kB
          Joseph Lad Germuska

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: