Oracle Fusion Middleware Tag Reference for Oracle ADF Faces
11g Release 2 (11.1.2.0.0)

E17491-02

<af:validateLength>

af:validateLength validateLength validate length

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).

Attributes

Name Type Supports EL? Description
hintMaximum String Yes

Hint message to be used, to give a hint about the allowed maximum.

Parameters:

  • {0} the maximum
hintMinimum String Yes

Hint message to be used, to give a hint about the allowed minimum.

Parameters:

  • {0} the minimum
hintNotInRange String Yes

Hint message to be used, to give a hint about the allowed range.

Parameters:

  • {0} the minimum
  • {1} the maximum
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:

  • {0} the label that identifies the component
  • {1} value entered by the user
  • {2} the maximum allowed length
Please note: Parameter {1} which specifies the value entered by the user, should never be used in the message if the value is secure, like when secret=true on inputText.
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:

  • {0} the label that identifies the component
  • {1} value entered by the user
  • {2} the minimum allowed length
Please note: Parameter {1} which specifies the value entered by the user, should never be used in the message if the value is secure, like when secret=true on inputText.
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:

  • {0} the label that identifies the component
  • {1} value entered by the user
  • {2} the minimum allowed length
  • {3} the maximum allowed length
Please note: Parameter {1} which specifies the value entered by the user, should never be used in the message if the value is secure, like when secret=true on inputText.
minimum int Yes The minimum length value of the entered value.