public class ValidateLengthTag extends MaxMinValidatorTag
validate_length tag| Modifier and Type | Field and Description |
|---|---|
protected int |
maximum |
protected javax.el.ValueExpression |
maximumExpression |
protected int |
minimum |
protected javax.el.ValueExpression |
minimumExpression |
maximumSet, minimumSetbinding, validatorId| Constructor and Description |
|---|
ValidateLengthTag() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.faces.validator.Validator |
createValidator()
Create and return a new
Validator to be registered
on our surrounding UIComponent. |
int |
doStartTag()
Create a new instance of the specified
Validator
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentTagBase instance, if
the UIComponent instance was created by this execution of the
containing Jakarta Server Pages page. |
void |
setMaximum(javax.el.ValueExpression newMaximum) |
void |
setMinimum(javax.el.ValueExpression newMinimum) |
createValidator, setBinding, setValidatorIdprotected javax.el.ValueExpression maximumExpression
protected javax.el.ValueExpression minimumExpression
protected int maximum
protected int minimum
public void setMaximum(javax.el.ValueExpression newMaximum)
public void setMinimum(javax.el.ValueExpression newMinimum)
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.faces.webapp.ValidatorELTagCreate a new instance of the specified Validator
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentTagBase instance, if
the UIComponent instance was created by this execution of the
containing Jakarta Server Pages page.
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.faces.webapp.ValidatorELTagjavax.servlet.jsp.JspException - if a Jakarta Server Pages error occursprotected javax.faces.validator.Validator createValidator()
throws javax.servlet.jsp.JspException
javax.faces.webapp.ValidatorELTagCreate and return a new Validator to be registered
on our surrounding UIComponent.
createValidator in class AbstractValidatorTagValidatorjavax.servlet.jsp.JspException - if a new instance cannot be createdCopyright © 2010–2024 JBoss by Red Hat. All rights reserved.