Module org.apache.myfaces.tobago
Interface ValidateSubmittedValueLengthTagDeclaration
public interface ValidateSubmittedValueLengthTagDeclaration
Register an
SubmittedValueLengthValidator instance on the UIComponent
associated with the closest parent UIComponent custom action.
The standard LengthValidator validate the length on the converted value.toString()
not on the submitted value. Sometimes you need to check the length of the submitted value.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetMaximum(jakarta.el.ValueExpression maximum) voidsetMinimum(jakarta.el.ValueExpression minimum)
-
Method Details
-
setMinimum
void setMinimum(jakarta.el.ValueExpression minimum) -
setMaximum
void setMaximum(jakarta.el.ValueExpression maximum)
-