| |||||||
FRAMES NO FRAMES |
During the validation phase (or the apply-request-values phase for immediate components), if the associated component has any submitted value and the conversion of that value to the required type has succeeded then the specified validator type is invoked to test the validity of the converted value.
Commonly associated with an h:inputText entity, but may be applied to any input component.
Some validators may allow the component to use attributes to define component-specific validation constraints; see the f:attribute tag. See also the "validator" attribute of all input components, which allows a component to specify an arbitrary validation
Unless otherwise specified, all attributes accept static values or EL expressions.
Register a named Validator instance on the UIComponent associated with the closest parent UIComponent custom action.
Tag Information | |
Tag Class | org.apache.myfaces.view.facelets.tag.jsf.core.ValidateDelegateHandler |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
disabled | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| no description |
for | false | false | java.lang.String | {@inheritDoc} |
validatorId | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The registered ID of the desired Validator. |
binding | false | false | javax.el.ValueExpression
(must evaluate to javax.faces.validator.Validator )
| A ValueExpression that evaluates to an implementation of the javax.faces.validator.Validator interface. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |