Module tapestry.form.validator
Back to master index

[public] Configuration Point tapestry.form.validator.ValidatorsOccurs: unbounded
Schema
Element <validator>
Attribute class (required) Translator: class
The class which implements the Validator interface, and has a public no-arguments constructor.
Attribute configurable Translator: boolean,default=true
If true (the default), then the validator should have a property with the same name which must be configured.
Attribute name Translator: string
Conversion Rules
<conversion class="ValidatorContribution" >
  • <map attribute="class" property="validatorClass" />
</conversion>
Contribution from module tapestry.form.validator
<validator class="Email" configurable="false" name="email" />
<validator class="Required" configurable="false" name="required" />
<validator class="Max" name="max" />
<validator class="MaxDate" name="maxDate" />
<validator class="MaxLength" name="maxLength" />
<validator class="Min" name="min" />
<validator class="MinDate" name="minDate" />
<validator class="MinLength" name="minLength" />
<validator class="Pattern" name="pattern" />
<validator class="Identity" name="match" />
<validator class="Identity" name="differ" />

Module tapestry.form.validator
Back to master index