Issue Details (XML | Word | Printable)

Key: CHAIN-20
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Joe Germuska
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Chain

[chain] Provide a "dispatch" command

Created: 05/Jan/05 04:51 AM   Updated: 02/Jan/08 07:01 AM
Return to search
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File DispatchCommand.java 2005-01-05 09:02 AM Joe Germuska 4 kB
Java Source File DispatchCommand.java 2005-01-05 06:48 AM Joe Germuska 2 kB
Java Source File DispatchCommandTestCase.java 2005-01-05 09:02 AM Joe Germuska 4 kB
Environment:
Operating System: Mac OS X 10.0
Platform: Macintosh

Bugzilla Id: 32940


 Description  « Hide
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...



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Henri Yandell made changes - 16/May/06 09:50 AM
Field Original Value New Value
issue.field.bugzillaimportkey 32940 12341976
Henri Yandell made changes - 16/May/06 11:10 AM
Project Commons [ 12310458 ] Commons Chain [ 12310462 ]
Key COM-1824 CHAIN-20
Affects Version/s 1.0 Final [ 12311651 ]
Component/s Chain [ 12311103 ]
Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
Henri Yandell made changes - 16/May/06 12:17 PM
Affects Version/s 1.0 Final [ 12311700 ]
Henri Yandell made changes - 17/Feb/07 09:19 AM
Fix Version/s 1.1 [ 12311930 ]
Henri Yandell made changes - 02/Jan/08 07:01 AM
Status Resolved [ 5 ] Closed [ 6 ]