@JSFValidator(name="f:validateRequired",
bodyContent="empty")
@JSFJspProperty(name="binding",
returnType="javax.faces.validator.RequiredValidator",
longDesc="A ValueExpression that evaluates to a RequiredValidator.")
public class RequiredValidator
extends Object
implements Validator
| Modifier and Type | Field and Description |
|---|---|
static String |
VALIDATOR_ID |
NOT_IN_RANGE_MESSAGE_ID| Constructor and Description |
|---|
RequiredValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(FacesContext facesContext,
UIComponent uiComponent,
Object value) |
public static final String VALIDATOR_ID
public void validate(FacesContext facesContext, UIComponent uiComponent, Object value) throws ValidatorException
validate in interface ValidatorValidatorExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.