Author(s)Jonathan Locke, Eelco Hillenius, Johan Compagner, Igor Vaynberg (ivaynberg)
An HTML form component knows how to validate itself. Validators that
implement IValidator can be added to the component. They will be evaluated in
the order they were added and the first Validator that returns an error
message determines the error message returned by the component.
FormComponents are not versioned by default. If you need versioning for your
FormComponents, you will need to call Form.setVersioned(true), which will set
versioning on for the form and all form component children.
If this component is required and that fails the error key that is used is
the "RequiredValidator" if the Type conversions failes it will be using the
key "TypeValidator" and the keys that can be used in both are :
FormComponents are not versioned by default. If you need versioning for your FormComponents, you will need to call Form.setVersioned(true), which will set versioning on for the form and all form component children.
If this component is required and that fails the error key that is used is the "RequiredValidator" if the Type conversions failes it will be using the key "TypeValidator" and the keys that can be used in both are :