| Tag Name: | af:validateLength> |
| Type: | oracle.adf.rich.Length |
Validate that the value entered is within a given length.
This validator provides hints for the help framework, which cannot be turned off.
This validator also runs on the client (implements org.apache.myfaces.trinidad.validator.ClientValidator).
<af:inputText id="mdf3" value="#{bean.zipCode}" label="length validator">
<af:validateLength maximum="5"/>
</af:inputText>
| Name | Type | Supports EL? | Description |
|---|---|---|---|
| disabled | boolean | Yes | Default Value: false Whether the validator should be disabled, default to false. |
| hintMaximum | String | Yes |
Hint message to be used, to give a hint about the allowed maximum. Parameters:
|
| hintMinimum | String | Yes |
Hint message to be used, to give a hint about the allowed minimum. Parameters:
|
| hintNotInRange | String | Yes |
Hint message to be used, to give a hint about the allowed range. Parameters:
|
| maximum | int | Yes | The maximum length value of the entered value. |
| messageDetailMaximum | String | Yes |
The detail error message to be used for constructing faces messages, when input value exceeds the maximum value set. Parameters:
|
| messageDetailMinimum | String | Yes |
The detail error message to be used for constructing faces messages, when input value is less than the set minimum value. Parameters:
|
| messageDetailNotInRange | String | Yes |
The detail error message to be used for constructing faces messages, if input value is not with in the range, when minimum and maximum is set. Parameters:
|
| minimum | int | Yes | The minimum length value of the entered value. |