CommandDriven is an interface in WW 1.x and is implemented in ActionSupport. Basically, if you set a parameter into the Action named command, either through the configuration, as a form or URL parameter, or by creating a URL like http://localhost/action!commandName, then the implementation in ActionSupport, if you extend it, will call a method called doCommandName() and return its return value.
The idea for Xwork is to make this a core part of the framework, so it's not implemented only in ActionSupport, and to make it done by the ActionInvocation, rather than inside the execute() base method. In this way, you don't have to save a "command" property in your Action (although we could still do this too), but just have it call the other method instead of execute. Jason > -----Original Message----- > From: Matt Ho [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 21, 2003 12:34 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] CommandDriven > > > Could you concisely explain what you mean by CommandDriven? > A google search on ("command driven" pattern) returns only > 1,500 non-topical entries. I have a working definition based > on the existing code and your comments, but a more concrete > definition of what it is would be helpful :) > > -- > Matt Ho > Principal > Indigo Egg, Inc. > http://www.indigoegg.com/ > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an > edge. The most comprehensive and flexible code editor you can > use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE > 30-Day Trial. www.slickedit.com/sourceforge > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork