|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.faces.webapp.ValidatorELTag
com.sun.faces.taglib.jsf_core.AbstractValidatorTag
public class AbstractValidatorTag
Base class for all ValidatorTag
s.
Field Summary | |
---|---|
protected javax.el.ValueExpression |
binding
The ValueExpression that evaluates to an object that
implements Converter . |
protected javax.el.ValueExpression |
validatorId
The identifier of the Validator
instance to be created. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
AbstractValidatorTag()
|
Method Summary | |
---|---|
protected javax.faces.validator.Validator |
createValidator()
|
protected static javax.faces.validator.Validator |
createValidator(javax.el.ValueExpression validatorId,
javax.el.ValueExpression binding,
javax.faces.context.FacesContext facesContext)
|
void |
setBinding(javax.el.ValueExpression binding)
Set the expression that will be used to create a ValueExpression that references a backing bean property
of the Validator instance to be created. |
void |
setValidatorId(javax.el.ValueExpression validatorId)
Set the identifer of the Validator
instance to be created. |
Methods inherited from class javax.faces.webapp.ValidatorELTag |
---|
doStartTag |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.el.ValueExpression binding
The ValueExpression
that evaluates to an object that
implements Converter
.
protected javax.el.ValueExpression validatorId
The identifier of the Validator
instance to be created.
Constructor Detail |
---|
public AbstractValidatorTag()
Method Detail |
---|
public void setBinding(javax.el.ValueExpression binding)
Set the expression that will be used to create a
ValueExpression
that references a backing bean property
of the Validator
instance to be created.
binding
- The new expressionpublic void setValidatorId(javax.el.ValueExpression validatorId)
Set the identifer of the Validator
instance to be created.
validatorId
- The identifier of the converter instance to be
created.protected javax.faces.validator.Validator createValidator() throws javax.servlet.jsp.JspException
createValidator
in class javax.faces.webapp.ValidatorELTag
javax.servlet.jsp.JspException
protected static javax.faces.validator.Validator createValidator(javax.el.ValueExpression validatorId, javax.el.ValueExpression binding, javax.faces.context.FacesContext facesContext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |