Class UniqueNameValidator
java.lang.Object
ch.tocco.nice2.model.form.impl.modelvalidator.UniqueNameValidator
- All Implemented Interfaces:
 ComponentValidator
Validates that all names of elements in the (form) model are unique.
 The name of an element is prefixed with all parent names.
 Theoretical example (dunno exact syntax): from.formname.fieldname
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
UniqueNameValidator
public UniqueNameValidator() 
 - 
 - 
Method Details
- 
validate
Description copied from interface:ComponentValidatorFinding: this is called with
Forminstances (only)! -andrej- Specified by:
 validatein interfaceComponentValidator- Parameters:
 toValidate- Currently called with Form instances.- Throws:
 ModelValidationException
 
 -