validator-rules.xml

some of the built-in-validators: required maxLength email date creditCard

* Now I think validator-rules.xml should be named built-in-validator.xml
* validator-rules.xml is a standard file you seldom need to modify.
* It configures the built-in-validators.

* root xml has a bunch of children like
* Each built-in-validator is also known as built-in-valiation-routine. Each built-in-validation-routine in the validator-rules.xml file has its own definition that is declared with a “validator” tag, which is used to assign a logical name to the routine, using the name attribute, and to specify the class and method for the routine. The routine’s logical name is used by other routines in this file as well as by validation definitions in the validation.xml file to refer to the routine.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s