|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.validator.RequiredValidator
@JSFValidator(name="f:validateRequired",
bodyContent="empty")
@JSFJspProperty(name="binding",
returnType="javax.faces.validator.RequiredValidator",
longDesc="A ValueExpression that evaluates to a RequiredValidator.")
public class RequiredValidatorCheck if a value is empty, in the same way as set UIInput required property to true (including all rules related to this property).
| Field Summary | |
|---|---|
static java.lang.String |
VALIDATOR_ID
|
| Fields inherited from interface javax.faces.validator.Validator |
|---|
NOT_IN_RANGE_MESSAGE_ID |
| Constructor Summary | |
|---|---|
RequiredValidator()
|
|
| Method Summary | |
|---|---|
void |
validate(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VALIDATOR_ID
| Constructor Detail |
|---|
public RequiredValidator()
| Method Detail |
|---|
public void validate(FacesContext facesContext,
UIComponent uiComponent,
java.lang.Object value)
throws ValidatorException
validate in interface ValidatorValidatorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||