Let's create a Client-Side validation workflow, step by step.
The validate
attribute is set to true
.
Some themes do not support client-side validation.
Step 1
Create the form.
Error formatting macro: snippet: java.lang.NullPointerException
This case uses the default xhtml theme, so the <saf:head >
tag is used to link a style sheet.
Step 2
Create the Action class.
Error formatting macro: snippet: java.lang.NullPointerException
Step 3
Create the validation.xml
to configure the validators to be used.
Error formatting macro: snippet: java.lang.NullPointerException