Validating inputs

We'll take the login form to demonstrate the use of Calyxo's form validation capabilities. The entered login data will be validated according to the following conditions:

All we have to do, is to describe the above conditions in a forms configuration file, load the forms plugin and change the /WEB-INF/jsp/login.jspx template to use the <forms:form>, <forms:text> and <forms:password> tags.

Note
The capabilities of the Calyxo Forms component go far beyond of what we use in this example. We do not use converters and checkers, here; neither we use form data beans; neither we define custom validators; ...

Before we forget: copy CALYXO_HOME/calyxo-forms/calyxo-forms-*.jar to /WEB-INF/lib now.