webwork.action.CommandDriven |
Known Indirect Subclasses
ExprFormTest |
A simple form that tests the expression language's ability to get and set properties. |
FormTest |
A simple form |
HelloWorld |
Hello World action. |
HitUrl |
Load content from a given URL |
JDOMUrl |
A simple Action used to fetch a remote URL, parse it using JDOM, and make the result available to the View. |
Login |
Login for the HelloWorld example. |
RssReader |
Used to access the RSS file containing the feed sources |
RssSources |
Used to access the RSS file containing the feed sources |
Transfer |
This code is an adaptation of the Struts example from the JavaWorld article by Thor Kristmundsson. |
UserRegistration |
|
|
Class Overview
Provides multiple execution paths or "commands" for actions implementing this interface.
Public Methods
public
String
getCommandName
()
Returns
- the name of the command that is currently in play or null if no command has been set
public
void
setCommand
(String command)
Sets the command for an action.
This has been DELIBERATELY set to a non JavaBean name because Action chaining copies all getters to setters and hence
the if its a getter/setter pair, then the command value will be unintentionally overwritten.
Parameters
command
| the new command in play
|