Dear Wiki user, You have subscribed to a wiki page or wiki category on "Shale Wiki" for change notification.
The following page has been changed by WendySmoak: http://wiki.apache.org/shale/ShaleValidation The comment on the change is: Fix the validator name and add comments ------------------------------------------------------------------------------ "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd"> <form-validation> <global> - <validator name="evenNumber" + <validator name="evenInteger" classname="com.example.ValidationUtil" method="isEven" methodParams="int" @@ -58, +58 @@ </global> <formset> + + <!-- the 'form name' is always 'org.apache.shale.validator' plus the 'validator name' --> <form name="org.apache.shale.validator.evenInteger"> + + <!-- the 'field property' always matches the 'validator name' --> <field property="evenInteger"> <!-- validation error message replacement parameters -->
