You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

The following is the step to create a Client-Side validation using webwork. Note the validate attribute is set to true. Note also that not all themes support this feature (client-side validation)

Step 1

Create the jsp page. Note the <ww:head > tag being used, it will setup the css in this case (xhtml theme)

Error formatting macro: snippet: java.lang.NullPointerException

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
  • No labels