java.lang.Object | ||
↳ | webwork.action.ActionSupport | |
↳ | webwork.examples.helloworld.Login |
Login for the HelloWorld example.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
webwork.action.Action
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
webwork.action.ActionSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Subclasses may override this method to provide validation of input data.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
webwork.action.ActionSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
webwork.action.Action
| |||||||||||
From interface
webwork.action.CommandDriven
| |||||||||||
From interface
webwork.action.IllegalArgumentAware
| |||||||||||
From interface
webwork.action.SessionAware
|
Subclasses may override this method to provide validation of input data. The execute() method should call validate() in the beginning of its code (which will delegate to this method), so as to check input data before doing the actual processing.
If any application errors arise these should be registered by calling addErrorMessage or addError . If the validation is dependent on whether a command has been issued, and what that command is, then the isCommand() method should be used.