public class NumberValidator extends JsfValidator<Number>
NumberValidator class is most common JSF validator for numeric
fields.| Constructor and Description |
|---|
NumberValidator(javax.faces.context.FacesContext context,
javax.faces.component.UIInput input,
Number value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkLimits(Number min,
Number max,
String resourceId)
Checks numeric field's value.
|
boolean |
checkLimits(Number min,
Number max,
String resourceId,
Object... parameters)
Checks numeric field's value.
|
checkEquals, checkEquals, checkExists, checkExists, getContext, getInput, getMessages, getValue, sendError, sendErrorpublic NumberValidator(javax.faces.context.FacesContext context,
javax.faces.component.UIInput input,
Number value)
context - contextinput - inputvalue - valueCopyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.