Description
The following are the steps to Let's configure a basic validation using Webworkworkflow, step by step.
Step 1
...
Write up a html form.
...
Create the input form.
...
...
Step 2
...
Write up Create the action class
...
Action class.
...
...
...
...
...
Step3:
Step 3
Create Write up the validators to be used. The validation.xml
format is either <ActionClassName>-validation.xml
or <ActionClassName>-
<ActionContextName><ActionAliasName>-validation.xml
...
.
...
...
...
...
...
...
Step 4
Make sure there is a result for "input" listed in the struts.xml for when the validation fails:
...
If you don't have this, you'll get a: "No result defined for action xxx.xxx.tutorial.HellowWorld and result input" error