|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwebwork.action.ActionSupport
webwork.examples.ExprFormTest
A simple form that tests the expression language's ability to get and set properties.
| Field Summary |
| Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages, log |
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
ExprFormTest()
|
|
| Method Summary | |
protected java.lang.String |
doExecute()
|
protected void |
doValidation()
Subclasses may override this method to provide validation of input data. |
Person |
getPerson()
|
void |
setPerson(Person person)
|
| Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, addIllegalArgumentException, doDefault, execute, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface webwork.action.CommandDriven |
setCommand |
| Constructor Detail |
public ExprFormTest()
| Method Detail |
public Person getPerson()
public void setPerson(Person person)
protected void doValidation()
ActionSupportIf 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.
doValidation in class ActionSupportprotected java.lang.String doExecute()
doExecute in class ActionSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||