DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32940>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32940





------- Additional Comments From [EMAIL PROTECTED]  2005-01-05 19:34 -------
+1 for this idea (now that I understand it).

Basically the idea is to allow for the use of a single command with some 
private methods that can be shared by your dispatch methods right?  At least 
that's how I use DispatchAction ...

You'll also need to modify the digester configuration stuff.  Maybe you could 
extend or modify ConfigRuleSet?

We're doing something like this in our app.  We've got several commands that 
can handle various field changes to the form.  These commands have methods 
that are specific for each of the fields that might change (and that they're 
interested in.)  The parent (abstract) class for these commands has an execute 
method which calls a getRegisteredFields() method (implmenting by the 
subclass).  It then calls any appropriate methods using reflection.

Its not exactly the same as what you're doing I know, but I just wanted to put 
that example out there.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to